Infomaniak Public Cloud icon

Infomaniak Public Cloud

Interact with Infomaniak Public Cloud API

Actions70

Users → Get Authentication File

AI-generated

Summary

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

Links

Discussion