object-storage-2

List Attached Role Policies

Lists all policies attached to a service's IAM role.

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

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/roles/{role-name}/policies
  • 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.

Response

OK

arnstring
namestring

Example response

[
  {
    "arn": "arn:upcloud:iam::01234567-89ab-cdef-0123-456789abcdef:policy/ECSReadOnlyAccess",
    "name": "ECSReadOnlyAccess"
  }
]

Changes

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