azure-security-keyvault-secrets
|
Go to the documentation of this file.
11 #include <azure/core/datetime.hpp>
12 #include <azure/core/nullable.hpp>
13 #include <azure/core/url.hpp>
14 #include <unordered_map>
16 namespace Azure {
namespace Security {
namespace KeyVault {
namespace Secrets {
81 Azure::Nullable<std::string>
KeyId;
87 std::unordered_map<std::string, std::string>
Tags;
134 throw std::invalid_argument(
"Name cannot be empty");
std::string Version
The version of the secret.
Definition: keyvault_secret_properties.hpp:118
Azure::Nullable< int64_t > RecoverableDays
The number of days a secret is retained before being deleted for a soft delete-enabled Key Vault.
Definition: keyvault_secret_properties.hpp:59
std::string Name
The name of the secret.
Definition: keyvault_secret_properties.hpp:106
Azure::Nullable< Azure::DateTime > NotBefore
Indicate when the secret will be valid and can be used for cryptographic operations.
Definition: keyvault_secret_properties.hpp:34
The Secret attributes managed by the KeyVault service.
Definition: keyvault_secret_properties.hpp:23
Azure::Nullable< Azure::DateTime > CreatedOn
Indicate when the secret was created.
Definition: keyvault_secret_properties.hpp:46
std::string VaultUrl
The vault url of the secret.
Definition: keyvault_secret_properties.hpp:112
Azure::Nullable< std::string > KeyId
If this is a secret backing a KV certificate, then this field specifies the corresponding key backing...
Definition: keyvault_secret_properties.hpp:81
bool Managed
True if the secret's lifetime is managed by key vault. If this is a secret backing a certificate,...
Definition: keyvault_secret_properties.hpp:94
static SecretProperties CreateFromURL(std::string const &url)
Construct a new secret Properties object.
Definition: keyvault_secret_properties.cpp:14
Azure::Nullable< std::string > ContentType
The content type of the secret.
Definition: keyvault_secret_properties.hpp:74
SecretProperties(std::string const &name)
Construct a new secret Properties object.
Definition: keyvault_secret_properties.hpp:130
Azure::Nullable< std::string > RecoveryLevel
The recovery level currently in effect for secrets in the Key Vault.
Definition: keyvault_secret_properties.hpp:68
std::string Id
The secret id.
Definition: keyvault_secret_properties.hpp:100
Azure SDK abstractions.
Definition: dll_import_export.hpp:46
Azure::Nullable< bool > Enabled
Indicate whether the secret is enabled and useable for cryptographic operations.
Definition: keyvault_secret_properties.hpp:28
std::unordered_map< std::string, std::string > Tags
Application specific metadata in the form of key-value pairs.
Definition: keyvault_secret_properties.hpp:87
Azure::Nullable< Azure::DateTime > UpdatedOn
Indicate when the secret was updated.
Definition: keyvault_secret_properties.hpp:52
SecretProperties()=default
Construct a new secret Properties object.
Azure::Nullable< Azure::DateTime > ExpiresOn
Indicate when the secret will expire and cannot be used for cryptographic operations.
Definition: keyvault_secret_properties.hpp:40