VerificationKeySource

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

Bases: object

The source of the verification material.

Attributes

VERIFICATION_KEY_SOURCE_TYPE_INLINE_PUBLIC_KEY A constant which can be used with the verification_key_source_type property of a VerificationKeySource.
VERIFICATION_KEY_SOURCE_TYPE_NONE A constant which can be used with the verification_key_source_type property of a VerificationKeySource.
VERIFICATION_KEY_SOURCE_TYPE_VAULT_SECRET A constant which can be used with the verification_key_source_type property of a VerificationKeySource.
verification_key_source_type [Required] Gets the verification_key_source_type of this VerificationKeySource.

Methods

__init__(**kwargs) Initializes a new VerificationKeySource 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'

A constant which can be used with the verification_key_source_type property of a VerificationKeySource. This constant has a value of “INLINE_PUBLIC_KEY”

VERIFICATION_KEY_SOURCE_TYPE_NONE = 'NONE'

A constant which can be used with the verification_key_source_type property of a VerificationKeySource. This constant has a value of “NONE”

VERIFICATION_KEY_SOURCE_TYPE_VAULT_SECRET = 'VAULT_SECRET'

A constant which can be used with the verification_key_source_type property of a VerificationKeySource. This constant has a value of “VAULT_SECRET”

__init__(**kwargs)

Initializes a new VerificationKeySource object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 VerificationKeySource. 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’.
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.

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