SecretDetail

class oci.dif.models.SecretDetail(**kwargs)

Bases: object

Details of the kubernetes secrets to be created or updated.

Methods:

__init__(**kwargs)

Initializes a new SecretDetail object with values from keyword arguments.

Attributes:

secret_data

[Required] Gets the secret_data of this SecretDetail.

secret_name

[Required] Gets the secret_name of this SecretDetail.

template_object_storage_path

Gets the template_object_storage_path of this SecretDetail.

__init__(**kwargs)

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

Parameters
  • secret_name (str) – The value to assign to the secret_name property of this SecretDetail.

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

  • secret_data (list[oci.dif.models.SecretData]) – The value to assign to the secret_data property of this SecretDetail.

property secret_data

[Required] Gets the secret_data of this SecretDetail. List of kubernetes secret data.

Returns

The secret_data of this SecretDetail.

Return type

list[oci.dif.models.SecretData]

property secret_name

[Required] Gets the secret_name of this SecretDetail. Name of the kubernetes secret of max length 63 and contain only lowercase alphanumeric characters or ‘-‘ and start and end with an alphabetic character.

Returns

The secret_name of this SecretDetail.

Return type

str

property template_object_storage_path

Gets the template_object_storage_path of this SecretDetail. Object storage path for the secret template to be used for creating secret otherwise it will be created with default template.

Returns

The template_object_storage_path of this SecretDetail.

Return type

str