SecretRole
Kind
kmip.vault.upbound.io
Group
v1alpha1
Version

apiVersion: kmip.vault.upbound.io/v1alpha1
kind: SecretRole

SecretRole is the Schema for the SecretRoles API. Provision KMIP Secret roles in Vault.

spec object

SecretRoleSpec defines the desired state of SecretRole


deletionPolicy string

DeletionPolicy specifies what will happen to the underlying external when this managed resource is deleted - either "Delete" or "Orphan" the external resource. This field is planned to be deprecated in favor of the ManagementPolicies field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223

forProvider object required

No Description Provided.


namespace string

The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise. Target namespace. (requires Enterprise)

operationActivate boolean

Grant permission to use the KMIP Activate operation. Grant permission to use the KMIP Activate operation

operationAddAttribute boolean

Grant permission to use the KMIP Add Attribute operation. Grant permission to use the KMIP Add Attribute operation

operationAll boolean

Grant all permissions to this role. May not be specified with any other operation_* params. Grant all permissions to this role. May not be specified with any other operation_* params

operationCreate boolean

Grant permission to use the KMIP Create operation. Grant permission to use the KMIP Create operation

operationDestroy boolean

Grant permission to use the KMIP Destroy operation. Grant permission to use the KMIP Destroy operation

operationDiscoverVersions boolean

Grant permission to use the KMIP Discover Version operation. Grant permission to use the KMIP Discover Version operation

operationGet boolean

Grant permission to use the KMIP Get operation. Grant permission to use the KMIP Get operation

operationGetAttributeList boolean

Grant permission to use the KMIP Get Atrribute List operation. Grant permission to use the KMIP Get Attribute List operation

operationGetAttributes boolean

Grant permission to use the KMIP Get Atrributes operation. Grant permission to use the KMIP Get Attributes operation

operationLocate boolean

Grant permission to use the KMIP Get Locate operation. Grant permission to use the KMIP Locate operation

operationNone boolean

Remove all permissions from this role. May not be specified with any other operation_* params. Remove all permissions from this role. May not be specified with any other operation_* params

operationRegister boolean

Grant permission to use the KMIP Register operation. Grant permission to use the KMIP Register operation

operationRekey boolean

Grant permission to use the KMIP Rekey operation. Grant permission to use the KMIP Rekey operation

operationRevoke boolean

Grant permission to use the KMIP Revoke operation. Grant permission to use the KMIP Revoke operation

path string

The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to kmip. Path where KMIP backend is mounted

pathRef object

Reference to a SecretScope in kmip to populate path.


name string required

Name of the referenced object.

policy object

Policies for referencing.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

pathSelector object

Selector for a SecretScope in kmip to populate path.


matchControllerRef boolean

MatchControllerRef ensures an object with the same controller reference as the selecting object is selected.

matchLabels object

MatchLabels ensures an object with matching labels is selected.

policy object

Policies for selection.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

role string

Name of the role. Name of the role

scope string

Name of the scope. Name of the scope

scopeRef object

Reference to a SecretScope in kmip to populate scope.


name string required

Name of the referenced object.

policy object

Policies for referencing.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

scopeSelector object

Selector for a SecretScope in kmip to populate scope.


matchControllerRef boolean

MatchControllerRef ensures an object with the same controller reference as the selecting object is selected.

matchLabels object

MatchLabels ensures an object with matching labels is selected.

policy object

Policies for selection.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

tlsClientKeyBits number

Client certificate key bits, valid values depend on key type. Client certificate key bits, valid values depend on key type

tlsClientKeyType string

Client certificate key type, rsa or ec. Client certificate key type, rsa or ec

tlsClientTtl number

Client certificate TTL in seconds. Client certificate TTL in seconds

initProvider object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.


namespace string

The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise. Target namespace. (requires Enterprise)

operationActivate boolean

Grant permission to use the KMIP Activate operation. Grant permission to use the KMIP Activate operation

operationAddAttribute boolean

Grant permission to use the KMIP Add Attribute operation. Grant permission to use the KMIP Add Attribute operation

operationAll boolean

Grant all permissions to this role. May not be specified with any other operation_* params. Grant all permissions to this role. May not be specified with any other operation_* params

operationCreate boolean

Grant permission to use the KMIP Create operation. Grant permission to use the KMIP Create operation

operationDestroy boolean

Grant permission to use the KMIP Destroy operation. Grant permission to use the KMIP Destroy operation

operationDiscoverVersions boolean

Grant permission to use the KMIP Discover Version operation. Grant permission to use the KMIP Discover Version operation

operationGet boolean

Grant permission to use the KMIP Get operation. Grant permission to use the KMIP Get operation

operationGetAttributeList boolean

Grant permission to use the KMIP Get Atrribute List operation. Grant permission to use the KMIP Get Attribute List operation

operationGetAttributes boolean

Grant permission to use the KMIP Get Atrributes operation. Grant permission to use the KMIP Get Attributes operation

operationLocate boolean

Grant permission to use the KMIP Get Locate operation. Grant permission to use the KMIP Locate operation

operationNone boolean

Remove all permissions from this role. May not be specified with any other operation_* params. Remove all permissions from this role. May not be specified with any other operation_* params

operationRegister boolean

Grant permission to use the KMIP Register operation. Grant permission to use the KMIP Register operation

operationRekey boolean

Grant permission to use the KMIP Rekey operation. Grant permission to use the KMIP Rekey operation

operationRevoke boolean

Grant permission to use the KMIP Revoke operation. Grant permission to use the KMIP Revoke operation

path string

The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to kmip. Path where KMIP backend is mounted

pathRef object

Reference to a SecretScope in kmip to populate path.


name string required

Name of the referenced object.

policy object

Policies for referencing.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

pathSelector object

Selector for a SecretScope in kmip to populate path.


matchControllerRef boolean

MatchControllerRef ensures an object with the same controller reference as the selecting object is selected.

matchLabels object

MatchLabels ensures an object with matching labels is selected.

policy object

Policies for selection.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

role string

Name of the role. Name of the role

scope string

Name of the scope. Name of the scope

scopeRef object

Reference to a SecretScope in kmip to populate scope.


name string required

Name of the referenced object.

policy object

Policies for referencing.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

scopeSelector object

Selector for a SecretScope in kmip to populate scope.


matchControllerRef boolean

MatchControllerRef ensures an object with the same controller reference as the selecting object is selected.

matchLabels object

MatchLabels ensures an object with matching labels is selected.

policy object

Policies for selection.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

tlsClientKeyBits number

Client certificate key bits, valid values depend on key type. Client certificate key bits, valid values depend on key type

tlsClientKeyType string

Client certificate key type, rsa or ec. Client certificate key type, rsa or ec

tlsClientTtl number

Client certificate TTL in seconds. Client certificate TTL in seconds

managementPolicies []string

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

providerConfigRef object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.


name string required

Name of the referenced object.

policy object

Policies for referencing.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

publishConnectionDetailsTo object

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.


configRef object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.


name string required

Name of the referenced object.

policy object

Policies for referencing.


resolution string

Resolution specifies whether resolution of this reference is required. The default is 'Required', which means the reconcile will fail if the reference cannot be resolved. 'Optional' means this reference will be a no-op if it cannot be resolved.

resolve string

Resolve specifies when this reference should be resolved. The default is 'IfNotPresent', which will attempt to resolve the reference only when the corresponding field is not present. Use 'Always' to resolve the reference on every reconcile.

metadata object

Metadata is the metadata for connection secret.


annotations object

Annotations are the annotations to be added to connection secret.

  • For Kubernetes secrets, this will be used as "metadata.annotations".
  • It is up to Secret Store implementation for others store types.
labels object

Labels are the labels/tags to be added to connection secret.

  • For Kubernetes secrets, this will be used as "metadata.labels".
  • It is up to Secret Store implementation for others store types.
type string

Type is the SecretType for the connection secret.

  • Only valid for Kubernetes Secret Stores.
name string required

Name is the name of the connection secret.

writeConnectionSecretToRef object

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.


name string required

Name of the secret.

namespace string required

Namespace of the secret.

status object

SecretRoleStatus defines the observed state of SecretRole.


atProvider object

No Description Provided.


id string

No Description Provided.

namespace string

The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise. Target namespace. (requires Enterprise)

operationActivate boolean

Grant permission to use the KMIP Activate operation. Grant permission to use the KMIP Activate operation

operationAddAttribute boolean

Grant permission to use the KMIP Add Attribute operation. Grant permission to use the KMIP Add Attribute operation

operationAll boolean

Grant all permissions to this role. May not be specified with any other operation_* params. Grant all permissions to this role. May not be specified with any other operation_* params

operationCreate boolean

Grant permission to use the KMIP Create operation. Grant permission to use the KMIP Create operation

operationDestroy boolean

Grant permission to use the KMIP Destroy operation. Grant permission to use the KMIP Destroy operation

operationDiscoverVersions boolean

Grant permission to use the KMIP Discover Version operation. Grant permission to use the KMIP Discover Version operation

operationGet boolean

Grant permission to use the KMIP Get operation. Grant permission to use the KMIP Get operation

operationGetAttributeList boolean

Grant permission to use the KMIP Get Atrribute List operation. Grant permission to use the KMIP Get Attribute List operation

operationGetAttributes boolean

Grant permission to use the KMIP Get Atrributes operation. Grant permission to use the KMIP Get Attributes operation

operationLocate boolean

Grant permission to use the KMIP Get Locate operation. Grant permission to use the KMIP Locate operation

operationNone boolean

Remove all permissions from this role. May not be specified with any other operation_* params. Remove all permissions from this role. May not be specified with any other operation_* params

operationRegister boolean

Grant permission to use the KMIP Register operation. Grant permission to use the KMIP Register operation

operationRekey boolean

Grant permission to use the KMIP Rekey operation. Grant permission to use the KMIP Rekey operation

operationRevoke boolean

Grant permission to use the KMIP Revoke operation. Grant permission to use the KMIP Revoke operation

path string

The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to kmip. Path where KMIP backend is mounted

role string

Name of the role. Name of the role

scope string

Name of the scope. Name of the scope

tlsClientKeyBits number

Client certificate key bits, valid values depend on key type. Client certificate key bits, valid values depend on key type

tlsClientKeyType string

Client certificate key type, rsa or ec. Client certificate key type, rsa or ec

tlsClientTtl number

Client certificate TTL in seconds. Client certificate TTL in seconds

conditions []object

Conditions of the resource.


lastTransitionTime string required

LastTransitionTime is the last time this condition transitioned from one status to another.

message string

A Message containing details about this condition's last transition from one status to another, if any.

observedGeneration integer

ObservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.

reason string required

A Reason for this condition's last transition from one status to another.

status string required

Status of this condition; is it currently True, False, or Unknown?

type string required

Type of this condition. At most one of each condition type may apply to a resource at any point in time.

observedGeneration integer

ObservedGeneration is the latest metadata.generation which resulted in either a ready state, or stalled due to error it can not recover from without human intervention.