MacsecKey¶
- class oci.core.models.MacsecKey(**kwargs)¶
Bases:
objectAn object defining the Secrets-in-Vault OCIDs representing the MACsec key.
Methods:
__init__(**kwargs)Initializes a new MacsecKey object with values from keyword arguments.
Attributes:
[Required] Gets the connectivity_association_key_secret_id of this MacsecKey.
Gets the connectivity_association_key_secret_version of this MacsecKey.
[Required] Gets the connectivity_association_name_secret_id of this MacsecKey.
Gets the connectivity_association_name_secret_version of this MacsecKey.
- __init__(**kwargs)¶
Initializes a new MacsecKey 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 MacsecKey.
connectivity_association_name_secret_version (int) – The value to assign to the connectivity_association_name_secret_version property of this MacsecKey.
connectivity_association_key_secret_id (str) – The value to assign to the connectivity_association_key_secret_id property of this MacsecKey.
connectivity_association_key_secret_version (int) – The value to assign to the connectivity_association_key_secret_version property of this MacsecKey.
- property connectivity_association_key_secret_id¶
[Required] Gets the connectivity_association_key_secret_id of this MacsecKey. Secret OCID containing the Connectivity Association Key (CAK) of this MACsec key.
- Returns
The connectivity_association_key_secret_id of this MacsecKey.
- Return type
str
- property connectivity_association_key_secret_version¶
Gets the connectivity_association_key_secret_version of this MacsecKey. The secret version of the connectivityAssociationKey secret in Vault.
- Returns
The connectivity_association_key_secret_version of this MacsecKey.
- Return type
int
- property connectivity_association_name_secret_id¶
[Required] Gets the connectivity_association_name_secret_id of this MacsecKey. Secret OCID containing the Connectivity association Key Name (CKN) of this MACsec key.
- Returns
The connectivity_association_name_secret_id of this MacsecKey.
- Return type
str
- property connectivity_association_name_secret_version¶
Gets the connectivity_association_name_secret_version of this MacsecKey. The secret version of the connectivity association name secret in Vault.
- Returns
The connectivity_association_name_secret_version of this MacsecKey.
- Return type
int