Actions70
- Config Actions
- Database Service Actions
- Database Service > Backups Actions
- Database Service > Backups > Scheduled Actions
- Database Service > Configurations Actions
- Database Service > Data Actions
- Database Service > IP Filters Actions
- Database Service > Restores Actions
- Kubernetes Service Actions
- Kubernetes Service > Data Actions
- Kubernetes Service > IP Filtering Actions
- Kubernetes Service > Instance Pools Actions
- Product Management Actions
- Projects Actions
- Users Actions
Users → Get Authentication File
AI-generatedSummary
Retrieve an authentication file for an Infomaniak Public Cloud user.
Inputs
- authentication — Authentication method (OAuth2 or API Key) used to connect to Infomaniak.
- path_public_cloud_id (required) — Public Cloud product identifier.
- path_public_cloud_project_id (required) — Public Cloud project identifier.
- path_public_cloud_user_id (required) — Identifier of the public cloud user.
- path_type (required) — Type of authentication file to retrieve.
- queryParameters — Additional query parameters, e.g., region selection.
- returnFullResponse — If true, returns the complete API response; otherwise returns a simplified payload.
Output shape
a JSON object containing the authentication file details
When returnFullResponse is false, only the file content is returned; when true, the full API response including metadata is provided. The response may be empty if the user lacks permissions.
Examples
Example 1: Retrieve an authentication file for a user using OAuth2.
Authentication=oauth2; path_public_cloud_id=123; path_public_cloud_project_id=456; path_public_cloud_user_id=789; path_type="oauth"; returnFullResponse=false
Example 2: Get authentication file via API Key with a specific region.
Authentication=apiKey; path_public_cloud_id=123; path_public_cloud_project_id=456; path_public_cloud_user_id=789; path_type="api"; queryParameters={query_region="pub1"}; returnFullResponse=true