GenerateIamPolicy Method

Description

Generates an Amazon IAM policy document for an Amazon credential.

HTTP Request

GET https://api.skeddly.com/api/Credentials/<id>/IamPolicy

URL Parameters

id

ID of the credential.

Type: string

Required: Yes

Query Parameters

extras

Comma-separated list of extra data to include.

Type: string

Valid Values:

  • my-resources

Required: No

Returns

A JSON string containing an IAM policy document.

The IAM policy document is in JSON format, but it is encased in a JSON string.

Deserialize the response body as a JSON string. Then, if required, deserialize the string contents as an Amazon IAM policy document.

Sample Request

Sample Response

Last updated