Import data to Secrets Manager for easy migration from another organization or secrets management solution. Secrets Manager supports direct import of both secrets and projects. Service accounts and access tokens cannot be imported.
Secrets Manager currently supports direct import of secrets and project as a
.json file. Your import file should be conditioned according to the following schema and rules:
Even if you're only importing secrets, you must include a
"projects" :object containing an empty array, for example:Bash
For now, each secret can only be associated with a single project.
All objects must have a non-empty
"id": ""attribute that matches an expected format. We recommend using
"00000000-0000-0000-0000-000000000001"for the first object and incrementing with each subsequent object. On import, new randomly generated identifiers will be generated for each object:Bash
You can use the
"projectIds": ""attributes to associate imported secrets with a newly imported project:Bash
To import your
.json file to Secrets Manager:
To import to Secrets Manager, your user account must be an owner or admin within the organization.
Select Settings → Import data from the left-hand navigation:
Select Choose File and choose a
.jsonfile for import, or Copy & paste import contents into the input box.
Select the Import data button. When prompted, enter your master password.
Importing does not check whether objects in the file to import already exist in Secrets Manager. If you import multiple files or import files with objects already in Secrets Manager, this will create duplicates.