Last active
December 3, 2025 22:00
-
-
Save cnolanminich/1e948e6896dab037694335f232215aae to your computer and use it in GitHub Desktop.
create a dagster secret via grahpql
This file contains hidden or 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
| mutation { | |
| createSecret( | |
| secretName: "MY_API_KEY" | |
| secretValue: "abc123" | |
| scopes: { fullDeploymentScope: true } | |
| locationNames: ["prod"] | |
| ) { | |
| __typename | |
| ... on Error { | |
| message | |
| } | |
| ... on InvalidSecretInputError { | |
| message | |
| } | |
| ... on PythonError { | |
| message | |
| } | |
| ... on SecretAlreadyExistsError { | |
| message | |
| } | |
| ... on TooManySecretsError { | |
| message | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment