tcld namespace accepted-client-ca set
The tcld namespace accepted-client-ca set command sets the client CA certificates for a Namespace in Temporal Cloud.
tcld namespace accepted-client-ca set --ca-certificate <value>
Alias: s
When updating CA certificates, it's important to follow a rollover process. Doing so enables your Namespace to serve both CA certificates for a period of time until traffic to your old CA certificate ceases.
- Create a single file that contains both your old and new CA certificate PEM blocks. Just concatenate the PEM blocks on adjacent lines. - -----BEGIN CERTIFICATE-----
 ... old CA cert ...
 -----END CERTIFICATE-----
 -----BEGIN CERTIFICATE-----
 ... new CA cert ...
 -----END CERTIFICATE-----
- Run the - tcld namespace accepted-client-ca setcommand with the CA certificate bundle file.- tcld namespace accepted-client-ca set --ca-certificate-file <path>
- Monitor traffic to your old certificate until it ceases. 
- Create another file that contains only the new CA certificate. 
- Run the - tcld namespace accepted-client-ca setcommand again with the updated CA certificate bundle file.
The following modifiers control the behavior of the command.
--namespace
Specify a Namespace hosted on Temporal Cloud. If not specified, the value of the environment variable $TEMPORAL_CLOUD_NAMESPACE is used.
Alias: -n
Example
tcld namespace accepted-client-ca set --namespace <namespace_id> --ca-certificate <encoded_certificate>
--request-id
Specify a request identifier to use for the asynchronous operation. If not specified, the server assigns a request identifier.
Alias: -r
Example
tcld namespace accepted-client-ca set --request-id <request_id> --ca-certificate <encoded_certificate>
--resource-version
Specify a resource version (ETag) to update from. If not specified, the latest version is used.
Alias: -v
Example
tcld namespace accepted-client-ca set --resource-version <etag> --ca-certificate <encoded_certificate>
--ca-certificate
Required modifier unless --ca-certificate-file is specified
Specify a base64-encoded string of a CA certificate PEM file.
If both --ca-certificate and --ca-certificate-file are specified, only --ca-certificate is used.
Alias: -c
Example
tcld namespace accepted-client-ca set --ca-certificate <encoded_certificate>
--ca-certificate-file
Required modifier unless --ca-certificate is specified
Specify a path to a CA certificate PEM file.
If both --ca-certificate and --ca-certificate-file are specified, only --ca-certificate is used.
Alias: -f
Example
tcld namespace accepted-client-ca set --ca-certificate-file <path>