Note
This filter plugin is part of the microsoft.ad collection (version 1.9.2).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install microsoft.ad.
To use it in a playbook, specify: microsoft.ad.as_sid.
New in microsoft.ad 1.1.0
microsoft.ad.ldap plugin to convert attribute values to a security identifier string.This describes the input of the filter, the value before | microsoft.ad.as_sid.
Parameter | Comments |
|---|---|
Input any / required | The LDAP attribute bytes or string value representing a Security Identifier stored in LDAP. If using a string as input, it must be a base64 string representing the SIDs bytes. |
See also
microsoft.ad.as_datetime filter
microsoft.ad.as_guid filter
microsoft.ad.ldap inventory
# This is an example used in the microsoft.ad.ldap plugin attributes: objectSid: raw | microsoft.ad.as_sid
Key | Description |
|---|---|
Return value string | The security identifier string value(s). Returned: success |
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/microsoft/ad/as_sid_filter.html