goldyfruit.ibmcloud_automation.ic_iam_authz_policy_info (1.0.4) — module

Retrieve IAM authorization policies on IBM Cloud.

| "added in version" 2.9 of goldyfruit.ibmcloud_automation"

Authors: Gaëtan Trellu (@goldyfruit)

preview | supported by community

Install collection

Install with ansible-galaxy collection install goldyfruit.ibmcloud_automation:==1.0.4


Add to requirements.yml

  collections:
    - name: goldyfruit.ibmcloud_automation
      version: 1.0.4

Description

An IAM policy enables a subject to access a resource. These policies are used in access decisions when calling APIs for IAM-enabled services.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve authorization policy list
  ic_iam_authz_policy_info:
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve specific authorization policy
  ic_iam_authz_policy_info:
    policy: b3f15971-fd3d-4fea-a17b-f91a54781418

Inputs

    
policy:
    description:
    - The policy ID.
    type: str