Skip to content

Secrets

Generated from the gateway schema. Do not edit.

Queries

secret

query { secret(name: String!): Secret }

Requires: an authenticated member of the tenant

Argument Type Description
name String!

Returns: Secret

secretByCluster

query { secretByCluster(clusterId: ID!, name: String!, namespace: String): Secret }

Requires: an authenticated member of the tenant

Argument Type Description
clusterId ID!
name String!
namespace String

Returns: Secret

secrets

query { secrets: [Secret!]! }

Requires: an authenticated member of the tenant

Returns: [Secret!]!

secretsByCluster

query { secretsByCluster(clusterId: ID!, namespace: String): SecretListResult! }

Requires: an authenticated member of the tenant

Argument Type Description
clusterId ID!
namespace String

Returns: SecretListResult!

Mutations

createSecret

mutation { createSecret(input: CreateSecretInput!): Secret }

Requires: tenant EDITOR

Argument Type Description
input CreateSecretInput!

Returns: Secret