Learn how request access using the Apono CLI
The Apono CLI enables you to view, request, and receive permission to services, databases, and applications that are centrally managed via Apono.
Since requests for different integrations have specific requirements, we recommend using the following steps:
Use the interactive approach to make an initial integration request.
Create and save an alias with the request command displayed in the CLI.
Item | Description |
---|---|
Before you can make access requests via the Apono CLI, you must log in to your Apono account.
Follow these steps to log in:
In Terminal, initiate logging in to your Apono account. The Apono UI login screen will open in a new web browser tab.
In the web browser tab, log in to your Apono account. After successfully logging in to your account, the Authorized page will appear in a new browser tab.
Close both browser tabs.
Although each access request requires different details, the general workflow for all requests is similar.
Follow these steps to submit an access request:
In Terminal, enter apono
to start the workflow. The What do you want to do? prompt appears.
Select Request new access and press the Enter key. The Select request type prompt appears.
Select an option and press the Enter key. A prompt appears.\
Select an option for the prompt and for each of the subsequent prompts to request access. Each access request requires specific information. However, the last prompt to appear for all access requests is the Enter justification prompt.
When making selections for each prompt, note the following:
If a specific prompt only has one associated option, that option will automatically be chosen and the next prompt will appear.
Use the arrow keys on your keyboard to highlight an option.
If a prompt accepts multiple options, use the spacebar to select one or several of the options.
Type a brief explanation to justify the access request and press the Enter key.
Access the resource.
Accessing the resource depends upon the approval process:
Immediate approval: You will be granted access to the resource. You may be logged in automatically, provided connection instructions, or prompted for login credentials. See: Request and Immediate Access.
Manual approval: You must await approval. After approval is granted, you can connect to a resource by following the connection instructions or entering your credentials. See: Manual Approval and Resource Access.
An engineer needs access to all the Postgres databases in postgresql/dimi delete. SUPERUSER is the only permission level for the Postgres databases.
Follow these steps to submit an access request:
In Terminal, start the workflow. The What do you want to do? prompt appears.
Select Request new access and press Enter. The Select request type prompt appears.
Select Integration and press the Enter key. A Select integration prompt appears.
Select the integration and press the Enter key. Since only one option exists for the resource type, this option is automatically chosen. The Select Database prompt appears.
Select one or several databases and press Enter key. Since only one option exists for the permissions, this option is automatically chosen. The Enter justification prompt appears.
Type a brief explanation to justify the access request and press the Enter key. After submitting a request the following information is displayed:
Request Command: CLI command for the request that can be used to request access again in the future or to create an alias.
Status: Details of the request and its approval status.
Select Access Prompt: Prompt to gain access to the resource.
Select the access and press the Enter key. The Select how to use access prompt appears.
For some integration workflows, you will not see additional prompts and will be immediately logged in to the resource.
Select an access option and press the Enter key.\
An engineer needs admin and edit permissions for the AKS namespace, test/kube-system on azure-aks/test. This is the only AKS namespace in this environment.
Follow these steps to submit an access request:
In Terminal, start the workflow. The What do you want to do? prompt appears.
Select Request new access and press the Enter key. The Select request type prompt appears.
Select Integration and press the Enter key. A Select integration prompt appears.
Select the integration and press the Enter key. The Select resource type prompt appears.
Select Namespace and press the Enter key. Since only one option exists, this option is automatically chosen. The Select permissions prompt appears.
Select one or several permissions and press the Enter key. The Enter justification prompt appears.
Type a brief explanation to justify the access request and press the Enter key.
After submitting a request the following information is displayed:
Request Command: CLI command for the request that can be used to request access again in the future or to create an alias.
Status: Details of the request and its approval status. Once a request has been approved, you can connect to a resource. See: Resource Access.
An engineer who was previously granted access to a resource wants to connect to that resource.
Follow these steps to submit an access request:
In Terminal, start the workflow. The What do you want to do? prompt appears.
Select Connect to a resource and press the Enter key. The Select how to use access prompt appears.
Select an access option and press the Enter key.
Request Type | Description |
---|---|
Option | Description |
---|---|
Option | Description |
---|---|
Bundle
Access to a defined group of resources A bundle of access may be based on a role or specific project needs.
Integration
Access to a specific resource
Connect
Connects the user directly to the database Once you have connected to the database, you can make queries directly from the CLI prompt.
Instructions
Prints instructions to access the database to the screen
Connect
Connects the user directly to the database Once you have connected to the database, you can make queries directly from the CLI prompt.
Instructions
Prints instructions to access the database to the screen
Learn how to install the Apono CLI
The Apono CLI enables you and your team to view, request, and receive permission to services, databases, and applications that are centrally managed via Apono.
Follow these steps to install the Apono CLI using Homebrew:
In Terminal, clone the apono-io/tap repository into Homebrew's directory of tapped repositories on your local machine.Shell
Install the Apono CLI.Shell
You can also install the Apono CLI using Scoop.
Periodically, you may need to update the Apono CLI to help maintain functionality, performance, and security.
Follow this step to update the Apono CLI:
In Terminal, update the Apono CLI.Shell
Apono Account
Grantee access to Apono You can verify that you have access by going to the Apono Portal or contacting your administrator to obtain a user account.
Access Flow Grantee
Inclusion in at least one access flow
Contact your administrator for more information.