NamedCredentialProperty

class oci.management_agent.models.NamedCredentialProperty(**kwargs)

Bases: object

Property item in name/value pair

Attributes:

VALUE_CATEGORY_ADB_IDENTIFIER

A constant which can be used with the value_category property of a NamedCredentialProperty.

VALUE_CATEGORY_ALLOWED_VALUE

A constant which can be used with the value_category property of a NamedCredentialProperty.

VALUE_CATEGORY_CLEAR_TEXT

A constant which can be used with the value_category property of a NamedCredentialProperty.

VALUE_CATEGORY_SECRET_IDENTIFIER

A constant which can be used with the value_category property of a NamedCredentialProperty.

name

[Required] Gets the name of this NamedCredentialProperty.

value

[Required] Gets the value of this NamedCredentialProperty.

value_category

[Required] Gets the value_category of this NamedCredentialProperty.

Methods:

__init__(**kwargs)

Initializes a new NamedCredentialProperty object with values from keyword arguments.

VALUE_CATEGORY_ADB_IDENTIFIER = 'ADB_IDENTIFIER'

A constant which can be used with the value_category property of a NamedCredentialProperty. This constant has a value of “ADB_IDENTIFIER”

VALUE_CATEGORY_ALLOWED_VALUE = 'ALLOWED_VALUE'

A constant which can be used with the value_category property of a NamedCredentialProperty. This constant has a value of “ALLOWED_VALUE”

VALUE_CATEGORY_CLEAR_TEXT = 'CLEAR_TEXT'

A constant which can be used with the value_category property of a NamedCredentialProperty. This constant has a value of “CLEAR_TEXT”

VALUE_CATEGORY_SECRET_IDENTIFIER = 'SECRET_IDENTIFIER'

A constant which can be used with the value_category property of a NamedCredentialProperty. This constant has a value of “SECRET_IDENTIFIER”

__init__(**kwargs)

Initializes a new NamedCredentialProperty object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • name (str) – The value to assign to the name property of this NamedCredentialProperty.

  • value (str) – The value to assign to the value property of this NamedCredentialProperty.

  • value_category (str) – The value to assign to the value_category property of this NamedCredentialProperty. Allowed values for this property are: “CLEAR_TEXT”, “SECRET_IDENTIFIER”, “ADB_IDENTIFIER”, “ALLOWED_VALUE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property name

[Required] Gets the name of this NamedCredentialProperty. Name of the property

Returns

The name of this NamedCredentialProperty.

Return type

str

property value

[Required] Gets the value of this NamedCredentialProperty. Value of the property

Returns

The value of this NamedCredentialProperty.

Return type

str

property value_category

[Required] Gets the value_category of this NamedCredentialProperty. The category of the Named credential property value. CLEAR_TEXT indicates the value field contains a clear text value. SECRET_IDENTIFIER indicates the value field contains a vault secret ocid identifier. ADB_IDENTIFIER indicates the value field contains an Autonomous database ocid identifier. ALLOWED_VALUE indicates the value should be selected from the options in the allowedValues field.

Allowed values for this property are: “CLEAR_TEXT”, “SECRET_IDENTIFIER”, “ADB_IDENTIFIER”, “ALLOWED_VALUE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The value_category of this NamedCredentialProperty.

Return type

str