object-storage-2

Get Role Inline Policy

Returns a role's inline policy by the given {service_uuid}, {role_name}, and {policy_name}.

get/1.3/object-storage-2/{service-uuid}/roles/{role-name}/inline-policies/{role-policy-name}

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/roles/{role-name}/inline-policies/{role-policy-name}
  • Auth: HTTP bearer

Path parameters

service-uuidstring uuid required

The unique identifier for the service.

Example:01234567-89ab-cdef-0123-456789abcdef

Service UUID

role-namestring required

A resource name.

Example:my-object-storage

The name of the role.

role-policy-namestring required

A resource name.

Example:my-object-storage

The name of the inline policy.

Response

OK

documentstring
namestring

Example response

{
  "name": "ECSS3FullAccess",
  "document": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Resource\":\"*\"}]}"
}

Changes

No recorded changes to this operation across all 1 revision of this API.