Fetching List of Azure Secrets
Use the get /v1/cckm/azure/secrets
API to fetch the list of Azure secrets from Azure vault. The results can be filtered using the query parameters.
Syntax
Request Parameter
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
Request Query Parameters
Parameter | Type | Description |
---|---|---|
id | string | Internal ID of the Azure secret. |
key_vault | string | Name of the Azure key vault. |
key_vault_id | string | ID of the key vault. |
secret_name | string | Name of the secret. |
region | string | Region name. |
status | string | Status of the secret. |
backup | string | Backed up secrets. |
enabled | boolean | Enabled secrets. |
deleted_in_azure | boolean | Fetches the secrets based on their availability in Azure. |
secret_id | string | Secret ID on Azure. |
gone | boolean | Fetches secrets based on their existence in the cloud. |
version | string | Fetches secrets based by version. |
tags | string | Fetches secrets based on their tags. |
managed | boolean | Fetches secrets managed by Azure vaults. |
skip | integer | Number of records to skip. For example, if "skip":5 is specified, the first five records will not be displayed in the output. |
limit | integer | Numbers of records to display. For example, if "limit":10 is specified, then the next 10 records (after skipping the number of records specified in the skip parameter) will be displayed in the output. |
sort | string | Comma-delimited list of properties to sort the results. |
Example Request
Example Response
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.