Keys¶
Cloud-backed key classes adapt provider signing APIs to Paramiko’s ECDSA key interface. They are certificate-authority keys as well as regular Paramiko signing keys.
Provider Implementations¶
AWS KMS¶
- class paramiko_cloud.aws.keys.ECDSAKey¶
Bases:
BaseKeyECDSAAn AWS KMS-based ECDSA key
- Parameters:
key_id – the AWS KMS key id
**kwargs – extra parameters passed to the Boto3 kms client, see the Boto3 documentation.
Constructor
- Parameters:
vals – tuple of signing key and verifying key
- __init__(key_id, **kwargs)¶
Constructor
- Parameters:
vals – tuple of signing key and verifying key
key_id (str)
kwargs (Any)
- Return type:
None
Google Cloud KMS¶
- class paramiko_cloud.gcp.keys.ECDSAKey¶
Bases:
BaseKeyECDSAA Google Cloud Platform KMS-based ECDSA key
- Parameters:
kms_client – a KMS client that can access the selected key
key_name – the name of the key
Constructor
- Parameters:
vals – tuple of signing key and verifying key
- __init__(kms_client, key_name)¶
Constructor
- Parameters:
vals – tuple of signing key and verifying key
kms_client (KeyManagementServiceClient)
key_name (str)
Azure Key Vault¶
- class paramiko_cloud.azure.keys.ECDSAKey¶
Bases:
BaseKeyECDSAAn Azure Key Vault-backed ECDSA key
- Parameters:
credential – an Azure credential suitable for accessing the key in Key Vault
vault_url – the vault URL
key_name – the name of the key in the vault
Constructor
- Parameters:
vals – tuple of signing key and verifying key
- __init__(credential, vault_url, key_name)¶
Constructor
- Parameters:
vals – tuple of signing key and verifying key
credential (DefaultAzureCredential | AzurePowerShellCredential | InteractiveBrowserCredential | ChainedTokenCredential | EnvironmentCredential | ManagedIdentityCredential | SharedTokenCacheCredential | AzureCliCredential | VisualStudioCodeCredential)
vault_url (str)
key_name (str)