public class KeyVaultSecret extends Object
SecretProperties
.
It is managed by Secret Service.SecretClient
,
SecretAsyncClient
Constructor and Description |
---|
KeyVaultSecret(String name,
String value)
Creates a Secret with
name and value . |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get the secret identifier.
|
String |
getName()
Get the secret name.
|
SecretProperties |
getProperties()
Get the secret properties
|
String |
getValue()
Get the value of the secret.
|
KeyVaultSecret |
setProperties(SecretProperties properties)
Set the secret properties
|
public String getValue()
public String getId()
public String getName()
public SecretProperties getProperties()
public KeyVaultSecret setProperties(SecretProperties properties)
properties
- The Secret propertiesNullPointerException
- if properties
is null.Copyright © 2020 Microsoft Corporation. All rights reserved.