Labels in Connection Manager
Labels are key-value pairs used to group resources such as keys and certificate. Labels apply to AWS, Azure, GCP, and SCP connections in Connection Manager.
Specify labels as shown below:
"labels": {
"key1": "value1",
"key2": "value2"
}
A label can be defined with:
- Key-value pair
- Key with no value
A label must begin and end with an alphanumeric character (a-z, A-Z, 0-9). The remaining characters may be alphanumeric, dots (.), dashes (-), and underscores (_).
A label can also be specified by only providing a key with no value.
{ "critical": "" }
The following example shows how to define labels.:
"labels": {
"sales.widgets.com/region": "noram",
"team": "sales",
"critical": ""
}
To remove a key-value pair, specify null
in the value field.
For Example :
{ "key1": null }
Using labels in Connection Manager:
{
"name": "aws-connection",
"products": [
"cckm"
],
"labels": {
"type": "aws"
},
"access_key_id": "Sample ID",
"secret_access_key": "Sample Secret",
"cloud_name": "aws"
}
Note
CipherTrust Manager uses a set of predefined labels for resource management. These labels are reserved and should not be explicitly used or removed by users. Each reserved label is prefixed with ncryptify-reserved
, indicating its exclusive purpose within the system.