mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
doc(secret-imports): updated docs for secret import
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: "Reference Secrets"
|
||||
title: "Reference/Import Secrets"
|
||||
description: "How to use reference secrets in Infisical"
|
||||
---
|
||||
|
||||
@@ -34,4 +34,16 @@ For instance, to access a secret 'A' composed of secrets 'B' and 'C' from differ
|
||||
When using [service tokens](./token) to fetch referenced secrets, ensure the service token has read access to all referenced environments and folders.
|
||||
Without proper permissions, the final secret value may be incomplete.
|
||||
|
||||
## Import multiple secrets from a environment secret path
|
||||
|
||||
You can import or link another environment's folder to your dashboard to inherit its secrets. This is useful when you need to share secrets across multiple environments.
|
||||
|
||||
To add an import/link, just click on `Secret Link` button and provide an `environment` and `secret path` to which the secrets must be pulled.
|
||||
|
||||

|
||||
|
||||
The import hierarchy is "last one wins." This means that the order in which you import matters. The last folder you import will override the secrets from any previous folders. Additionally, any secrets you define in your dashboard will override the secrets from any imported folders.
|
||||
|
||||
You can change the order by dragging and positioning according using the `Change Order` drag handle.
|
||||
|
||||
![secret import change order](../../images/secret-import-change-order.png
|
||||
|
||||
BIN
docs/images/secret-import-add.png
Normal file
BIN
docs/images/secret-import-add.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 97 KiB |
BIN
docs/images/secret-import-change-order.png
Normal file
BIN
docs/images/secret-import-change-order.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 101 KiB |
Reference in New Issue
Block a user