keystone.credential.providers.core module
this page last updated: 2022-01-15 13:02:26.356637
keystone.credential.providers.core module
-
class
keystone.credential.providers.core.
Provider
[source]
Bases: object
Interface for credential providers that support encryption.
-
decrypt
(credential)[source]
Decrypt a credential.
Parameters: | credential (str) – credential to decrypt |
Returns: | credential str as plaintext |
Raises: | keystone.exception.CredentialEncryptionError |
-
encrypt
(credential)[source]
Encrypt a credential.
Parameters: | credential (str) – credential to encrypt |
Returns: | encrypted credential str |
Raises: | keystone.exception.CredentialEncryptionError |
this page last updated: 2022-01-15 13:02:26.356637