class Azure::KeyVault::Mgmt::V2019_09_01::Models::KeyProperties
The properties of the key.
Attributes
attributes[RW]
@return [KeyAttributes] The attributes of the key.
curve_name[RW]
@return [JsonWebKeyCurveName] The elliptic curve name. For valid values, see JsonWebKeyCurveName
. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K'
key_ops[RW]
@return [Array<JsonWebKeyOperation>]
key_size[RW]
@return [Integer] The key size in bits. For example: 2048, 3072, or 4096 for RSA.
key_uri[RW]
@return [String] The URI to retrieve the current version of the key.
key_uri_with_version[RW]
@return [String] The URI to retrieve the specific version of the key.
kty[RW]
@return [JsonWebKeyType] The type of the key. For valid values, see JsonWebKeyType
. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM'
Public Class Methods
mapper()
click to toggle source
Mapper for KeyProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-09-01/generated/azure_mgmt_key_vault/models/key_properties.rb, line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'KeyProperties', type: { name: 'Composite', class_name: 'KeyProperties', model_properties: { attributes: { client_side_validation: true, required: false, serialized_name: 'attributes', type: { name: 'Composite', class_name: 'KeyAttributes' } }, kty: { client_side_validation: true, required: false, serialized_name: 'kty', constraints: { MinLength: 1 }, type: { name: 'String' } }, key_ops: { client_side_validation: true, required: false, serialized_name: 'keyOps', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'JsonWebKeyOperationElementType', type: { name: 'String' } } } }, key_size: { client_side_validation: true, required: false, serialized_name: 'keySize', type: { name: 'Number' } }, curve_name: { client_side_validation: true, required: false, serialized_name: 'curveName', type: { name: 'String' } }, key_uri: { client_side_validation: true, required: false, read_only: true, serialized_name: 'keyUri', type: { name: 'String' } }, key_uri_with_version: { client_side_validation: true, required: false, read_only: true, serialized_name: 'keyUriWithVersion', type: { name: 'String' } } } } } end