Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
 {
  "HCP" : [
    {
      "alias": "marketing",
      "namespace": "admin/marketing",
      "location": "https://snaplogic-dev-cluster.vault.f754c6a8-491e-4269-b7fa-bb6b15b2b8e2.aws.hashicorp.cloud:8200",
      "role_id": "6b406315-b89c-b7bb-f721-8b038055e507",
      "secret_id": "0d65a416-98b8-c526-a273-ac856dcc29fd"
    },
    {
      "alias": "developers",
      "namespace": "admin/developers",
      "location": "https://snaplogic-dev-cluster.vault.f734b6a8-491e-4269-b7ga-bb6b16b2b8e2.aws.hashicorp.cloud:8200/",
      "role_id": "e7cce3cb-9c03-3ed0-134d-c7f00dgf073b",
      "secret_id": "1763c7c6-d8be-2c8c-f8be-55f2b9925639"
    },
    {

      "alias": "defaultRole",
      "namespace": "admin/developers",
      "location": "http://172.27.184.47:8200/",
      "role_id": "86887eb7-5f7a-7476-be0b-dec5d4584c9a",
      "secret_id": "e784cd95-2605-dde8-c247-448942416a0a"
    }
  ]
}

Restrict secret usage to a project space

To restrict the use of secrets to a single project space,

  1. Add a project_space property in your secrets-config.json configuration file.

  2. Provide the path to the project space that contains the secrets.

For example, "project_space" : "/snaplogic/shared" constrains users to secrets stored in accounts in the snaplogic project space shared folder.