ServiceAccountKey is a managed resource that represents a Google IAM Service Account Key.
Type
CRD
Group
iam.gcp.crossplane.io
Version
v1alpha1
apiVersion: iam.gcp.crossplane.io/v1alpha1
kind: ServiceAccountKey
ServiceAccountKeySpec defines the desired state of a ServiceAccountKey.
ServiceAccountKeyParameters defines parameters for a desired IAM ServiceAccountKey https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts.keys
ServiceAccountRef references a ServiceAccount and retrieves its URI
Policies for referencing.
ServiceAccountSelector selects a reference to a ServiceAccount
Policies for selection.
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.
ServiceAccountKeyStatus represents the observed state of a ServiceAccountKey.
ServiceAccountKeyObservation is used to show the observed state of the ServiceAccountKey resource on GCP. All fields in this structure should only be populated from GCP responses; any changes made to the k8s resource outside of the crossplane gcp controller will be ignored and overwritten.
Conditions of the resource.
test-sakey
apiVersion: iam.gcp.crossplane.io/v1alpha1
kind: ServiceAccountKey
metadata:
name: test-sakey
spec:
deletionPolicy: Delete
forProvider:
serviceAccountRef:
name: perfect-test-sa
providerConfigRef:
name: gcp-provider
writeConnectionSecretToRef:
name: test-sakey
namespace: default
demo-serviceaccount-key
apiVersion: iam.gcp.crossplane.io/v1alpha1
kind: ServiceAccountKey
metadata:
name: demo-serviceaccount-key
spec:
forProvider:
serviceAccountRef:
name: perfect-test-sa
publishConnectionDetailsTo:
configRef:
name: vault
metadata:
annotations:
argocd.argoproj.io/sync-options: Prune=false
labels:
environment: development
team: backend
type: Opaque
name: demo-serviceaccount-key
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.