Secrets Interface
Implements
SupportsGettingById<Secret>
SupportsGettingByNameAsync<Secret>
SupportsCreating<Blank>
SupportsDeletingById
SupportsListing<Secret>
public interface Secrets
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<Secret>, SupportsGettingByNameAsync<Secret>, SupportsListing<Secret>
Entry point for Key Vault secrets API.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Secret |
getByNameAndVersion(String name, String version)
Gets a Key Vault secret. |
abstract rx.Observable<Secret> |
getByNameAndVersionAsync(String name, String version)
Gets a Key Vault secret. |
Method Details
getByNameAndVersion
public abstract Secret getByNameAndVersion(String name, String version)
Gets a Key Vault secret.
Parameters:
name
- the name of the secret
version
- the version of the secret
Returns:
the secret
getByNameAndVersionAsync
public abstract Observable
Gets a Key Vault secret.
Parameters:
name
- the name of the secret
version
- the version of the secret
Returns:
the secret
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for