-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Policy is needed to allow identities to access secrets | ||
kind: policy | ||
name: {{APP_SECRETS_POLICY}} | ||
targetKind: secret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Org level secrets are used to store sensitive information that is | ||
# shared across multiple apps in the same organization. This is | ||
# useful for storing things like API keys, database credentials, and | ||
# other sensitive information that is shared across multiple apps | ||
# in the same organization. | ||
|
||
# This is how you apply this once (not during CI) | ||
# cpl apply-template secrets -a qa-react-webpack-rails-tutorial --org shakacode-open-source-examples-staging | ||
|
||
kind: secret | ||
name: {{APP_SECRETS}} | ||
type: dictionary | ||
data: | ||
SOME_ENV: "123456" | ||
|
||
--- | ||
|
||
# Policy is needed to allow identities to access secrets | ||
kind: policy | ||
name: {{APP_SECRETS_POLICY}} | ||
targetKind: secret | ||
targetLinks: | ||
- //secret/{{APP_SECRETS}} |