- Print
- DarkLight
This documentation version is deprecated, please click here for the latest version.
Article summary
Did you find this summary helpful?
Thank you for your feedback
The Azure CLI is a set of commands used to create and manage Azure resources. With this component of the Cloud CLI extension, you can interact with Azure directly from LimaCharlie.
This extension makes use of the Azure CLI, which can be found here.
Example
The following example returns a list of virtual machines and their respective details in Azure.
- action: extension request
extension action: run
extension name: ext-cloud-cli
extension request:
cloud: '{{ "az" }}'
command_line: '{{ "vm list" }}'
credentials: '{{ "hive://secret/secret-name" }}'
Credentials
To utilize the Azure CLI, you will need:
- An application and a service principal with the appropriate permissions and a client secret
- Create a secret in the secrets manager in the following format:
appID/clientSecret/tenantID
Was this article helpful?