Secret is the Schema for the Secrets API. A Secret is a logical secret whose value and versions can be accessed.
Type
CRD
Group
secretmanager.gcp.upbound.io
Version
v1beta1
apiVersion: secretmanager.gcp.upbound.io/v1beta1
kind: Secret
SecretSpec defines the desired state of Secret
No description provided.
The replication policy of the secret data attached to the Secret. It cannot be changed after the Secret has been created. Structure is documented below.
The Secret will automatically be replicated without any restrictions. Structure is documented below.
The list of Replicas for this Secret. Cannot be empty. Structure is documented below.
Customer Managed Encryption for the secret. Structure is documented below.
The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. topics must be set to configure rotation. Structure is documented below.
A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. Structure is documented below.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
SecretStatus defines the observed state of Secret.
No description provided.
The replication policy of the secret data attached to the Secret. It cannot be changed after the Secret has been created. Structure is documented below.
The Secret will automatically be replicated without any restrictions. Structure is documented below.
The list of Replicas for this Secret. Cannot be empty. Structure is documented below.
Customer Managed Encryption for the secret. Structure is documented below.
The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. topics must be set to configure rotation. Structure is documented below.
A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. Structure is documented below.
Conditions of the resource.
secret-iam-member
apiVersion: secretmanager.gcp.upbound.io/v1beta1
kind: Secret
metadata:
annotations:
meta.upbound.io/example-id: secretmanager/v1beta1/secretiammember
labels:
testing.upbound.io/example-name: secret-iam-member
name: secret-iam-member
spec:
forProvider:
labels:
environment: dev
replication:
- userManaged:
- replicas:
- location: us-west2
secret
apiVersion: secretmanager.gcp.upbound.io/v1beta1
kind: Secret
metadata:
annotations:
meta.upbound.io/example-id: secretmanager/v1beta1/secret
labels:
testing.upbound.io/example-name: secret
name: secret
spec:
forProvider:
labels:
environment: dev
replication:
- userManaged:
- replicas:
- location: us-west2
example-123
apiVersion: secretmanager.gcp.upbound.io/v1beta1
kind: Secret
metadata:
annotations:
meta.upbound.io/example-id: secretmanager/v1beta1/secretiammember
labels:
testing.upbound.io/example-name: example-123
name: example-123
spec:
forProvider:
labels:
label: my-label
replication:
- userManaged:
- replicas:
- location: us-west2
secretId: example-123
secret-version
apiVersion: secretmanager.gcp.upbound.io/v1beta1
kind: Secret
metadata:
annotations:
meta.upbound.io/example-id: secretmanager/v1beta1/secretversion
labels:
testing.upbound.io/example-name: secret-version
name: secret-version
spec:
forProvider:
labels:
environment: dev
replication:
- automatic: true
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.