salt.states.keystone_user

Management of OpenStack Keystone Users

New in version 2018.3.0.

depends:shade
configuration:see salt.modules.keystoneng for setup instructions

Example States

create user:
  keystone_user.present:
    - name: user1

delete user:
  keystone_user.absent:
    - name: user1

create user with optional params:
  keystone_user.present:
    - name: user1
    - domain: domain1
    - enabled: False
    - password: password123
    - email: "user1@example.org"
    - description: 'my user'
salt.states.keystone_user.absent(name, auth=None, **kwargs)

Ensure user does not exists

name
Name of the user
domain
The name or id of the domain
salt.states.keystone_user.present(name, auth=None, **kwargs)

Ensure domain exists and is up-to-date

name
Name of the domain
domain
The name or id of the domain
enabled
Boolean to control if domain is enabled
description
An arbitrary description of the domain
password
The user password
email
The users email address