VaultSecretVerificationKeySource

class oci.devops.models.VaultSecretVerificationKeySource(**kwargs)

Bases: oci.devops.models.verification_key_source.VerificationKeySource

Specifies the Vault verification source details

Attributes

VERIFICATION_KEY_SOURCE_TYPE_INLINE_PUBLIC_KEY str(object=’’) -> str
VERIFICATION_KEY_SOURCE_TYPE_NONE str(object=’’) -> str
VERIFICATION_KEY_SOURCE_TYPE_VAULT_SECRET str(object=’’) -> str
vault_secret_id [Required] Gets the vault_secret_id of this VaultSecretVerificationKeySource.
verification_key_source_type [Required] Gets the verification_key_source_type of this VerificationKeySource.

Methods

__init__(**kwargs) Initializes a new VaultSecretVerificationKeySource object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
VERIFICATION_KEY_SOURCE_TYPE_INLINE_PUBLIC_KEY = 'INLINE_PUBLIC_KEY'
VERIFICATION_KEY_SOURCE_TYPE_NONE = 'NONE'
VERIFICATION_KEY_SOURCE_TYPE_VAULT_SECRET = 'VAULT_SECRET'
__init__(**kwargs)

Initializes a new VaultSecretVerificationKeySource object with values from keyword arguments. The default value of the verification_key_source_type attribute of this class is VAULT_SECRET and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • verification_key_source_type (str) – The value to assign to the verification_key_source_type property of this VaultSecretVerificationKeySource. Allowed values for this property are: “VAULT_SECRET”, “INLINE_PUBLIC_KEY”, “NONE”
  • vault_secret_id (str) – The value to assign to the vault_secret_id property of this VaultSecretVerificationKeySource.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

vault_secret_id

[Required] Gets the vault_secret_id of this VaultSecretVerificationKeySource. The OCID of the Vault Secret containing the verification key versions.

Returns:The vault_secret_id of this VaultSecretVerificationKeySource.
Return type:str
verification_key_source_type

[Required] Gets the verification_key_source_type of this VerificationKeySource. Specifies type of verification material.

Allowed values for this property are: “VAULT_SECRET”, “INLINE_PUBLIC_KEY”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The verification_key_source_type of this VerificationKeySource.
Return type:str