Scaleway's Key Manager allows you to create, manage and use cryptographic keys in a centralized and secure service. All your cryptographic operations can be delegated to the Key Manager, which in turn ensures the security and availability of your keys.
Key Manager supports the following cryptographic operations: data encryption, data decryption, and data encryption key generation.
Concepts
Refer to our dedicated concepts pageOpen in new context to find definitions of the different terms referring to Key Manager.
Quickstart
-
Configure your environment variables.
Note
This is an optional step that seeks to simplify your usage of the API.
Code -
Create a key. Run the following command to create a key that you can use to encrypt and decrypt your data:
Code -
Rotate your key. Run the following command to generate a new version of your key. This operation renders your previous key version obsolete.
Code -
Encrypt data. Run the following command to encrypt data with the key you have created in step 2:
Code -
Generate a data encryption key. Run the following command to generate a data encryption key that you can use for cryptographic operations outside of Key Manager:
Code
Requirement
To perform the following steps, you must first ensure that: