azure-security-keyvault-secrets
|
Go to the documentation of this file.
12 namespace Azure {
namespace Security {
namespace KeyVault {
namespace Secrets {
25 Azure::Nullable<std::string>
Value;
56 throw std::invalid_argument(
"Name cannot be empty");
59 if (
Value.HasValue() ==
false ||
Value.Value().empty())
61 throw std::invalid_argument(
"Value cannot be empty");
70 throw std::invalid_argument(
"Name cannot be empty");
74 friend struct DeletedSecret;
Keyvault Secret Attributes definition.
std::string Id
The secret id.
Definition: keyvault_secret.hpp:31
KeyVaultSecret(std::string const &name, std::string const &value)
Construct a new Secret object.
Definition: keyvault_secret.hpp:51
The Secret attributes managed by the KeyVault service.
Definition: keyvault_secret_properties.hpp:23
Azure::Nullable< std::string > Value
The secret value.
Definition: keyvault_secret.hpp:25
Definition: keyvault_secret.hpp:14
Azure SDK abstractions.
Definition: dll_import_export.hpp:46
std::string Name
The name of the secret.
Definition: keyvault_secret.hpp:19
SecretProperties Properties
The secret Properties bundle.
Definition: keyvault_secret.hpp:37
KeyVaultSecret()=default
Construct a new Secret object.