APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForPrincipalPolicy

APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForPrincipalPolicy. 2 operations. Lead operation: #Action=GetContextKeysForPrincipalPolicy. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering Platform#Action=GetContextKeysForPrincipalPolicy

What You Can Do

GET
Getgetcontextkeysforprincipalpolicy

Gets a list of all of the context keys referenced in all the IAM policies that are attached to the specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all of the poli

/v1/action-getcontextkeysforprincipalpolicy
POST
Postgetcontextkeysforprincipalpolicy

Gets a list of all of the context keys referenced in all the IAM policies that are attached to the specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all of the poli

/v1/action-getcontextkeysforprincipalpolicy

MCP Tools

p-gets-list-all-context-keys

Gets a list of all of the context keys referenced in all the IAM policies that are attached to the specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all of the poli

read-only idempotent
p-gets-list-all-context-keys-2

Gets a list of all of the context keys referenced in all the IAM policies that are attached to the specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all of the poli

read-only

Capability Spec

aws-iam-action-getcontextkeysforprincipalpolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForPrincipalPolicy'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForPrincipalPolicy.
    2 operations. Lead operation: #Action=GetContextKeysForPrincipalPolicy. Self-contained Naftiko capability covering one
    Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - '#Action=GetContextKeysForPrincipalPolicy'
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: aws-iam-action-getcontextkeysforprincipalpolicy
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForPrincipalPolicy
      business capability. Self-contained, no shared references.'
    resources:
    - name: '#Action=GetContextKeysForPrincipalPolicy'
      path: /#Action=GetContextKeysForPrincipalPolicy
      operations:
      - name: getgetcontextkeysforprincipalpolicy
        method: GET
        description: <p>Gets a list of all of the context keys referenced in all the IAM policies that are attached to the
          specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also
          includes all of the poli
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PolicySourceArn
          in: query
          type: string
          description: <p>The ARN of a user, group, or role whose policies contain the context keys that you want listed.
            If you specify a user, the list includes context keys that ar
          required: true
        - name: PolicyInputList
          in: query
          type: array
          description: <p>An optional list of additional policies for which you want the list of context keys that are referenced.</p>
            <p>The <a href="http://wikipedia.org/wiki/regex"
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
      - name: postgetcontextkeysforprincipalpolicy
        method: POST
        description: <p>Gets a list of all of the context keys referenced in all the IAM policies that are attached to the
          specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also
          includes all of the poli
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: aws-iam-action-getcontextkeysforprincipalpolicy-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForPrincipalPolicy.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-getcontextkeysforprincipalpolicy
      name: action-getcontextkeysforprincipalpolicy
      description: 'REST surface for #Action=GetContextKeysForPrincipalPolicy.'
      operations:
      - method: GET
        name: getgetcontextkeysforprincipalpolicy
        description: <p>Gets a list of all of the context keys referenced in all the IAM policies that are attached to the
          specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also
          includes all of the poli
        call: aws-iam-action-getcontextkeysforprincipalpolicy.getgetcontextkeysforprincipalpolicy
        with:
          PolicySourceArn: rest.PolicySourceArn
          PolicyInputList: rest.PolicyInputList
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postgetcontextkeysforprincipalpolicy
        description: <p>Gets a list of all of the context keys referenced in all the IAM policies that are attached to the
          specified IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also
          includes all of the poli
        call: aws-iam-action-getcontextkeysforprincipalpolicy.postgetcontextkeysforprincipalpolicy
        with:
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-iam-action-getcontextkeysforprincipalpolicy-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=GetContextKeysForPrincipalPolicy.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: p-gets-list-all-context-keys
      description: <p>Gets a list of all of the context keys referenced in all the IAM policies that are attached to the specified
        IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all
        of the poli
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-getcontextkeysforprincipalpolicy.getgetcontextkeysforprincipalpolicy
      with:
        PolicySourceArn: tools.PolicySourceArn
        PolicyInputList: tools.PolicyInputList
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: p-gets-list-all-context-keys-2
      description: <p>Gets a list of all of the context keys referenced in all the IAM policies that are attached to the specified
        IAM entity. The entity can be an IAM user, group, or role. If you specify a user, then the request also includes all
        of the poli
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: aws-iam-action-getcontextkeysforprincipalpolicy.postgetcontextkeysforprincipalpolicy
      with:
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.