class Azure::KeyVault::V7_2_preview::Models::SecretBundle
A secret consisting of a value, id and its attributes.
Attributes
attributes[RW]
@return [SecretAttributes] The secret management attributes.
content_type[RW]
@return [String] The content type of the secret.
id[RW]
@return [String] The secret id.
kid[RW]
@return [String] If this is a secret backing a KV certificate, then this field specifies the corresponding key backing the KV certificate.
managed[RW]
@return [Boolean] True if the secret's lifetime is managed by key vault. If this is a secret backing a certificate, then managed will be true.
value[RW]
@return [String] The secret value.
Private Class Methods
mapper()
click to toggle source
Mapper for SecretBundle
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/7.2-preview/generated/azure_key_vault/models/secret_bundle.rb, line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SecretBundle', type: { name: 'Composite', class_name: 'SecretBundle', model_properties: { value: { client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'String' } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, content_type: { client_side_validation: true, required: false, serialized_name: 'contentType', type: { name: 'String' } }, attributes: { client_side_validation: true, required: false, serialized_name: 'attributes', type: { name: 'Composite', class_name: 'SecretAttributes' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, kid: { client_side_validation: true, required: false, read_only: true, serialized_name: 'kid', type: { name: 'String' } }, managed: { client_side_validation: true, required: false, read_only: true, serialized_name: 'managed', type: { name: 'Boolean' } } } } } end