For the complete documentation index, see llms.txt. A markdown version of this page is at /reference/resources/cloudserviceaccount/index.md.

CloudServiceAccount

A CloudServiceAccount is the record Ringleader keeps of each cloud runtime identity that a CloudIdentity declares.

A CloudServiceAccount is the record Ringleader keeps of each runtime identity that a CloudIdentity declares. Its alias is csa. You can read it with rl csa get, but you never write one yourself.

Cloud runtime identities explains what a runtime identity is and how to declare one.

Record contents

The spec.cloudIdentity field names the CloudIdentity that declared the identity, and spec.labels holds that CloudIdentity’s selector labels. Every workstation that uses the identity owns the record. When the last one is gone, Ringleader removes the role grants it made, deletes the cloud identity unless autoDelete is false, and deletes the record.

Identities declared twice

When two CloudIdentities declare the same identity, the first one recorded keeps it. The CloudIdentity in spec.cloudIdentity decides the roles and the autoCreate and autoDelete settings.

A workstation that reaches the identity through the other CloudIdentity still becomes an owner of the record. Ringleader does not apply that CloudIdentity’s roles and settings, and it logs a warning. If the recorded CloudIdentity is deleted or stops declaring the identity, the CloudIdentity of the next workstation takes the record over. To change the roles, edit the CloudIdentity that the record names.

Next steps