Create Client Credentials
Overview
A Client Credential is a machine-to-machine credential that the CLI uses to authenticate with CD-as-a-Service when you trigger deployments as part of an external automated workflow. You pass the credential through the clientID
and clientSecret
parameters.
Additionally, a Remote Network Agent uses a Client Credential for authentication when communicating with CD-as-a-Service.
Before you begin
- You are an Organization or Tenant Admin within CD-as-a-Service.
- You are familiar with RBAC in CD-as-a-Service
Create a Client Credential
-
Access the CD-as-a-Service Console.
-
Go to the Configuration tab.
-
If you have more than one tenant, make sure you select the desired tenant in the User context menu.
-
In the left navigation menu, select Access Management > Client Credentials.
-
In the upper right corner, select New Credential.
-
Create a credential for your RNA. Use a descriptive name for the credential that matches what it is being used for. For example, name the credentials the same as the account name you assigned the target deployment cluster if creating a credential for an Remote Network Agent (RNA).
-
Select an RBAC role from the Select Roles list. You must assign an RBAC role in order for the credential to access CD-as-a-Service.
- If the credential for is a Remote Network Agent, select Remote Network Agent.
- If you plan to use the credential to deploy from a GitHub Action or similar tool, select Deployments Full Access.
-
Note the values for both Client ID and Client Secret. You need these values when configuring the RNA or any other service that you want to grant access to. Make sure to store the secret somewhere safe. You are not shown the value again.
Armory recommends that you store credentials in a secret engine that is supported by the tool you want to integrate with CD-as-a-Service.
What’s next
Feedback
Was this page helpful?
Thank you for letting us know!
Sorry to hear that. Please tell us how we can improve.
Last modified November 9, 2022: (e11a60fd)