Chapter 2. Credentials You can use credentials to store secrets that can be used for authentication purposes with resources, such as decision environments, rulebook activations and projects for Event-Driven Ansible controller, and projects for automation controller. Credentials authenticate users when launching jobs against machines and importing project content from a version control system. You can grant users and teams the ability to use these credentials without exposing the credential to the user. If a user moves to a different team or leaves the organization, you do not have to rekey all of your systems just because that credential was previously available. 2.1. Credentials list view When you log in to the Ansible Automation Platform and select Automation Decisions Infrastructure Credentials , the Credentials page has a pre-loaded Decision Environment Container Registry credential. When you create your own credentials, they will be added to this list view. . From the menu bar, you can search for credentials in the Name search field. You also have the following options in the menu bar: Choose how fields are shown in the list view by clicking the Manage columns icon. You have four options in which you can arrange your fields: Column - Shows the column in the table. Description - Shows the column when the item is expanded as a full width description. Expanded - Shows the column when the item is expanded as a detail. Hidden - Hides the column. Choose between a List view or a Card view , by clicking the icons. 2.2. Setting up credentials You can create a credential to use with a source plugin or a private container registry that you select. You can make your credential available to a team or individuals. Procedure Log in to the Ansible Automation Platform Dashboard. From the navigation panel, select Automation Decisions Infrastructure Credentials . Click Create credential . Insert the following: Name Insert the name. Description This field is optional. Organization Click the list to select an organization or select Default . Credential type Click the list to select your Credential type. Note When you select the credential type, the Type Details section is displayed with fields that are applicable for the credential type you chose. Complete the fields that are applicable to the credential type you selected. Click Create credential . After saving the credential, the credentials details page is displayed. From there or the Credentials list view, you can edit or delete it. 2.3. Editing a credential You can edit existing credentials to ensure the appropriate level of access for your organization. Procedure Edit the credential by using one of these methods: From the Credentials list view, click the Edit credential icon to the desired credential. From the Credentials list view, select the name of the credential, click Edit credential . Edit the appropriate details and click Save credential . 2.4. Copying a credential When setting up a new credential with field inputs that are similar to your existing credentials, you can use the Copy credential feature in the Details tab to duplicate information instead of manually entering it. While setting up credentials can be a lengthy process, the ability to copy the required fields from an existing credential saves time and, in some cases, reduces the possibility of human error. Procedure On the Credentials list page, click the name of the credential that you want to copy. This takes you to the Details tab of the credential. Click Copy credential in the upper right of the Details tab. Note You can also click the Copy credential icon to the desired credential on the Credentials list page. A message is displayed confirming that your selected credential has been copied: "<Name of credential> copied." Click the Back to credentials tab to view the credential you just copied. The copied credential is displayed with the same name as the original credential followed by a time stamp in 24-hour format (for example, <Name of credential> @ 17:26:30 ). Edit the details you prefer for your copied credential. Click Save credential . 2.5. Deleting a credential You can delete credentials if they are no longer needed for your organization. Procedure Delete the credential by using one of these methods: From the Credentials list view, click the More Actions icon ... to the desired credential and click Delete credential . From the Credentials list view, select the name of the credential, click the More Actions icon ... to Edit credential , and click Delete credential . In the pop-up window, select Yes, I confirm that I want to delete this credential . Note If your credential is still in use by other resources in your organization, a warning message is displayed letting you know that the credential cannot be deleted. Also, if your credential is being used in an event stream, you cannot delete it until the event stream is deleted or attached to a different credential. In general, avoid deleting a credential that is in use because it can lead to broken activations. Click Delete credential . You can delete multiple credentials at a time by selecting the checkbox to each credential and clicking the More Actions icon ... in the menu bar and then clicking Delete selected credentials .

Commands: