InlinePublicKeyVerificationKeySource¶
-
class
oci.devops.models.
InlinePublicKeyVerificationKeySource
(**kwargs)¶ Bases:
oci.devops.models.verification_key_source.VerificationKeySource
Specifies the Inline public key 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 current_public_key
[Required] Gets the current_public_key of this InlinePublicKeyVerificationKeySource. previous_public_key
Gets the previous_public_key of this InlinePublicKeyVerificationKeySource. verification_key_source_type
[Required] Gets the verification_key_source_type of this VerificationKeySource. Methods
__init__
(**kwargs)Initializes a new InlinePublicKeyVerificationKeySource 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 InlinePublicKeyVerificationKeySource object with values from keyword arguments. The default value of the
verification_key_source_type
attribute of this class isINLINE_PUBLIC_KEY
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 InlinePublicKeyVerificationKeySource. Allowed values for this property are: “VAULT_SECRET”, “INLINE_PUBLIC_KEY”, “NONE”
- current_public_key (str) – The value to assign to the current_public_key property of this InlinePublicKeyVerificationKeySource.
- previous_public_key (str) – The value to assign to the previous_public_key property of this InlinePublicKeyVerificationKeySource.
-
current_public_key
¶ [Required] Gets the current_public_key of this InlinePublicKeyVerificationKeySource. Current version of Base64 encoding of the public key which is in binary GPG exported format.
Returns: The current_public_key of this InlinePublicKeyVerificationKeySource. Return type: str
-
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.
-
previous_public_key
¶ Gets the previous_public_key of this InlinePublicKeyVerificationKeySource. Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios.
Returns: The previous_public_key of this InlinePublicKeyVerificationKeySource. 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
-