purestorage.flashblade.purefb_remote_cred (1.17.0) — module

Create, modify and delete FlashBlade object store remote credentials

| "added in version" 1.0.0 of purestorage.flashblade"

Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com>

preview | supported by community

Install collection

Install with ansible-galaxy collection install purestorage.flashblade:==1.17.0


Add to requirements.yml

  collections:
    - name: purestorage.flashblade
      version: 1.17.0

Description

Create, modify and delete object store remote credentials

You must have a correctly configured remote array or target

This module is B(not) idempotent when updating existing remote credentials


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create remote credential
  purestorage.flashblade.purefb_remote_cred:
    name: cred1
    access_key: "3794fb12c6204e19195f"
    secret: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
    target: target1
    fb_url: 10.10.10.2
    api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete remote credential
  purestorage.flashblade.purefb_remote_cred:
    name: cred1
    target: target1
    state: absent
    fb_url: 10.10.10.2
    api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641

Inputs

    
name:
    description:
    - The name of the credential
    required: true
    type: str

state:
    choices:
    - absent
    - present
    default: present
    description:
    - Define state of remote credential
    type: str

fb_url:
    description:
    - FlashBlade management IP address or Hostname.
    type: str

secret:
    description:
    - Secret Access Key for the S3 or Azure target
    type: str

target:
    description:
    - Define whether to initialize the S3 bucket
    required: true
    type: str

api_token:
    description:
    - FlashBlade API token for admin privileged user.
    type: str

access_key:
    description:
    - Access Key ID of the S3 target
    type: str