Registry Tokens

This is a simple module that supports listing existing Registry Tokens

Example Syntax


name: List Registry Tokens
ionoscloudsdk.ionoscloud.registry_token_info:
  registry: ''
register: registry_tokens_response

Returned object

{
    "result": [
        {
            "href": "",
            "id": "1e9f63b6-ff23-41ab-8f7e-57dd1008d6b5",
            "metadata": {
                "created_by": "<USER_EMAIL>",
                "created_by_user_id": "<USER_ID>",
                "created_date": "2023-05-29T13:51:29+00:00",
                "last_modified_by": null,
                "last_modified_by_user_id": null,
                "last_modified_date": null,
                "state": "enabled"
            },
            "properties": {
                "credentials": {
                    "password": "",
                    "username": "testRegistryToken"
                },
                "expiry_date": null,
                "name": "testRegistryToken",
                "scopes": [
                    {
                        "actions": [
                            "pull",
                            "push"
                        ],
                        "name": "nume",
                        "type": "repo"
                    }
                ],
                "status": "enabled"
            },
            "type": "token"
        }
    ],
    "failed": false,
    "changed": false
}

For more examples please check out the tests here.

Available parameters:

Last updated