CreateMacsecKey

class oci.core.models.CreateMacsecKey(**kwargs)

Bases: object

Defines the secret `OCID`__s held in Vault that represent the MACsec key.

Methods

__init__(**kwargs) Initializes a new CreateMacsecKey object with values from keyword arguments.

Attributes

connectivity_association_key_secret_id [Required] Gets the connectivity_association_key_secret_id of this CreateMacsecKey.
connectivity_association_name_secret_id [Required] Gets the connectivity_association_name_secret_id of this CreateMacsecKey.
__init__(**kwargs)

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

Parameters:
  • connectivity_association_name_secret_id (str) – The value to assign to the connectivity_association_name_secret_id property of this CreateMacsecKey.
  • connectivity_association_key_secret_id (str) – The value to assign to the connectivity_association_key_secret_id property of this CreateMacsecKey.
connectivity_association_key_secret_id

[Required] Gets the connectivity_association_key_secret_id of this CreateMacsecKey. Secret `OCID`__ containing the Connectivity Association Key (CAK) of this MACsec key.

NOTE: Only the latest secret version will be used.

Returns:The connectivity_association_key_secret_id of this CreateMacsecKey.
Return type:str
connectivity_association_name_secret_id

[Required] Gets the connectivity_association_name_secret_id of this CreateMacsecKey. Secret `OCID`__ containing the Connectivity association Key Name (CKN) of this MACsec key.

NOTE: Only the latest secret version will be used.

Returns:The connectivity_association_name_secret_id of this CreateMacsecKey.
Return type:str