netapp.storagegrid.nac_sg_org_user_s3_key (20.6.1) — module

Creates NetApp StorageGRID User S3 keys.

| "added in version" 20.6.0 of netapp.storagegrid"

Authors: NetApp Ansible Team (@joshedmonds) <ng-ansibleteam@netapp.com>

preview | supported by community

Install collection

Install with ansible-galaxy collection install netapp.storagegrid:==20.6.1


Add to requirements.yml

  collections:
    - name: netapp.storagegrid
      version: 20.6.1

Description

Create, Delete Users S3 keys on NetApp StorageGRID.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: create a s3 key
    netapp.storagegrid.nac_sg_org_user_s3_key:
      api_url: "https://<storagegrid-endpoint-url>"
      auth_token: "storagegrid-auth-token"
      validate_certs: false
      state: present
      unique_user_name: user/ansibleuser1

Inputs

    
state:
    choices:
    - present
    - absent
    description:
    - Whether the specified account should exist or not.
    required: true
    type: str

api_url:
    description:
    - The url to the StorageGRID Admin Node REST API.
    required: true
    type: str

expires:
    description:
    - Date-Time string for the key to expire
    type: str

access_key:
    description:
    - Access Key or S3 credential pair identifier
    - Required for delete operation
    type: str

auth_token:
    description:
    - The authorization token for the API request
    required: true
    type: str

validate_certs:
    default: true
    description:
    - Should https certificates be validated?
    required: false
    type: bool

unique_user_name:
    description:
    - Unique user name owning the S3 Key
    required: true
    type: str