Skip to content

Instantly share code, notes, and snippets.

@cnolanminich
Last active December 3, 2025 22:00
Show Gist options
  • Select an option

  • Save cnolanminich/1e948e6896dab037694335f232215aae to your computer and use it in GitHub Desktop.

Select an option

Save cnolanminich/1e948e6896dab037694335f232215aae to your computer and use it in GitHub Desktop.
create a dagster secret via grahpql
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