curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/awsIamRoleBindings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"principal": "<string>",
"role": "<string>"
}
'{
"principal": "<string>",
"role": "<string>",
"accountId": "<string>",
"createTime": "2023-11-07T05:31:56Z"
}curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/awsIamRoleBindings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"principal": "<string>",
"role": "<string>"
}
'{
"principal": "<string>",
"role": "<string>",
"accountId": "<string>",
"createTime": "2023-11-07T05:31:56Z"
}Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
The Account Id
The properties of the AWS IAM role binding being created.
A successful response.
The principal that is allowed to assume the AWS IAM role. This must be the email address of the user.
The AWS IAM role ARN that is allowed to be assumed by the principal.
The account ID that this binding is associated with.
The creation time of the AWS IAM role binding.
Was this page helpful?