S3key

Example Syntax

    - name: Create an s3key
      ionoscloudsdk.ionoscloud.s3key:
        user_id: "{{ user_id }}"

    - name: Update an s3key
      ionoscloudsdk.ionoscloud.s3key:
        user_id: "{{ user_id }}"
        key_id: "00ca413c94eecc56857d"
        active: False
        state: update

    - name: Remove an s3key
      ionoscloudsdk.ionoscloud.s3key:
        user_id: "{{ user_id }}"
        key_id: "00ca413c94eecc56857d"
        state: absent

Parameter Reference

The following parameters are supported:

NameRequiredTypeDefaultDescription

user_id

yes

string

The unique ID of the user.

key_id

yes

string

The ID of the key. Required only for state = 'update' or state = 'absent'

active

no

boolean

State of the key.

idempotency

no

boolean

False

Flag that dictates respecting idempotency. If an s3key already exists, returns with already existing key instead of creating more

Last updated