KeyVaultClient.listSecretVersions 方法

定义

重载

listSecretVersions(final String vaultBaseUrl, final String secretName)

List the versions of the specified secret.

listSecretVersions(final String vaultBaseUrl, final String secretName, final Integer maxresults)

List the versions of the specified secret.

listSecretVersions(final String vaultBaseUrl, final String secretName)

List the versions of the specified secret.

public PagedList<SecretItem> listSecretVersions(final String vaultBaseUrl, final String secretName)

参数

vaultBaseUrl
final String

The vault name, e.g. https://myvault.vault.azure.net

secretName
final String

The name of the secret in the given vault

返回

PagedList<SecretItem>

the PagedList<SecretItem> if successful.

listSecretVersions(final String vaultBaseUrl, final String secretName, final Integer maxresults)

List the versions of the specified secret.

public PagedList<SecretItem> listSecretVersions(final String vaultBaseUrl, final String secretName, final Integer maxresults)

参数

vaultBaseUrl
final String

The vault name, e.g. https://myvault.vault.azure.net

secretName
final String

The name of the secret in the given vault

maxresults
final Integer

Maximum number of results to return in a page. If not specified the service will return up to 25 results.

返回

PagedList<SecretItem>

the PagedList<SecretItem> if successful.

适用于