reference_secret_configs
Creates, updates, deletes, gets or lists a reference_secret_configs resource.
Overview​
| Name | reference_secret_configs |
| Type | Resource |
| Id | ovh.okms.reference_secret_configs |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
cas_required | boolean | The cas parameter will be required for all write requests if set to true (wire: casRequired) |
max_versions | integer | The number of versions to keep (wire: maxVersions) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | region | Returns the default secret settings of a region: whether cas is required and the number of versions to keep. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
region | string | OKMS Region |
SELECT examples​
- get
Returns the default secret settings of a region: whether cas is required and the number of versions to keep.
SELECT
cas_required,
max_versions
FROM ovh.okms.reference_secret_configs
WHERE region = '{{ region }}' -- required
;