KerberosKeytabEntry

class oci.file_storage.models.KerberosKeytabEntry(**kwargs)

Bases: object

Details of each keytab entry read from the keytab file.

Attributes:

ENCRYPTION_TYPE_AES128_CTS_HMAC_SHA1_96

A constant which can be used with the encryption_type property of a KerberosKeytabEntry.

ENCRYPTION_TYPE_AES128_CTS_HMAC_SHA256_128

A constant which can be used with the encryption_type property of a KerberosKeytabEntry.

ENCRYPTION_TYPE_AES256_CTS_HMAC_SHA1_96

A constant which can be used with the encryption_type property of a KerberosKeytabEntry.

ENCRYPTION_TYPE_AES256_CTS_HMAC_SHA384_192

A constant which can be used with the encryption_type property of a KerberosKeytabEntry.

encryption_type

[Required] Gets the encryption_type of this KerberosKeytabEntry.

key_version_number

[Required] Gets the key_version_number of this KerberosKeytabEntry.

principal

[Required] Gets the principal of this KerberosKeytabEntry.

Methods:

__init__(**kwargs)

Initializes a new KerberosKeytabEntry object with values from keyword arguments.

ENCRYPTION_TYPE_AES128_CTS_HMAC_SHA1_96 = 'AES128_CTS_HMAC_SHA1_96'

A constant which can be used with the encryption_type property of a KerberosKeytabEntry. This constant has a value of “AES128_CTS_HMAC_SHA1_96”

ENCRYPTION_TYPE_AES128_CTS_HMAC_SHA256_128 = 'AES128_CTS_HMAC_SHA256_128'

A constant which can be used with the encryption_type property of a KerberosKeytabEntry. This constant has a value of “AES128_CTS_HMAC_SHA256_128”

ENCRYPTION_TYPE_AES256_CTS_HMAC_SHA1_96 = 'AES256_CTS_HMAC_SHA1_96'

A constant which can be used with the encryption_type property of a KerberosKeytabEntry. This constant has a value of “AES256_CTS_HMAC_SHA1_96”

ENCRYPTION_TYPE_AES256_CTS_HMAC_SHA384_192 = 'AES256_CTS_HMAC_SHA384_192'

A constant which can be used with the encryption_type property of a KerberosKeytabEntry. This constant has a value of “AES256_CTS_HMAC_SHA384_192”

__init__(**kwargs)

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

Parameters
  • principal (str) – The value to assign to the principal property of this KerberosKeytabEntry.

  • encryption_type (str) – The value to assign to the encryption_type property of this KerberosKeytabEntry. Allowed values for this property are: “AES128_CTS_HMAC_SHA256_128”, “AES256_CTS_HMAC_SHA384_192”, “AES128_CTS_HMAC_SHA1_96”, “AES256_CTS_HMAC_SHA1_96”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • key_version_number (int) – The value to assign to the key_version_number property of this KerberosKeytabEntry.

property encryption_type

[Required] Gets the encryption_type of this KerberosKeytabEntry. Encryption type with with keytab was generated. Secure: aes128-cts-hmac-sha256-128 Secure: aes256-cts-hmac-sha384-192 Less Secure: aes128-cts-hmac-sha1-96 Less Secure: aes256-cts-hmac-sha1-96

Allowed values for this property are: “AES128_CTS_HMAC_SHA256_128”, “AES256_CTS_HMAC_SHA384_192”, “AES128_CTS_HMAC_SHA1_96”, “AES256_CTS_HMAC_SHA1_96”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The encryption_type of this KerberosKeytabEntry.

Return type

str

property key_version_number

[Required] Gets the key_version_number of this KerberosKeytabEntry. Kerberos KVNO (key version number) for key in keytab entry.

Returns

The key_version_number of this KerberosKeytabEntry.

Return type

int

property principal

[Required] Gets the principal of this KerberosKeytabEntry. Keytab principal.

Returns

The principal of this KerberosKeytabEntry.

Return type

str