All Projects → ReconInfoSec → ansible-okta-modules

ReconInfoSec / ansible-okta-modules

Licence: GPL-3.0 license
Ansible modules for the Okta API

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ansible-okta-modules

okta-ionic-auth-example
Example showing Ionic Authentication with Okta
Stars: ✭ 23 (-4.17%)
Mutual labels:  okta
okta-angular-sign-in-widget-example
Angular + Okta Sign-In Widget Example
Stars: ✭ 17 (-29.17%)
Mutual labels:  okta
spring-projects
Some spring sample projects
Stars: ✭ 24 (+0%)
Mutual labels:  okta
clisso
Get temporary credentials for cloud providers from the command line.
Stars: ✭ 34 (+41.67%)
Mutual labels:  okta
httpx auth
Authentication classes to be used with httpx
Stars: ✭ 59 (+145.83%)
Mutual labels:  okta
aws-okta-processor
Okta credential processor for AWS CLI
Stars: ✭ 68 (+183.33%)
Mutual labels:  okta
workos-node
Official Node SDK for interacting with the WorkOS API
Stars: ✭ 42 (+75%)
Mutual labels:  okta
crowbar
Securily generates temporary AWS credentials through identity providers using SAML
Stars: ✭ 23 (-4.17%)
Mutual labels:  okta
requests auth
Authentication classes to be used with requests
Stars: ✭ 28 (+16.67%)
Mutual labels:  okta
clearpass-cloud-service-whitelists
Whitelist entries for cloud identity services
Stars: ✭ 21 (-12.5%)
Mutual labels:  okta
kamu
You favorite book library
Stars: ✭ 65 (+170.83%)
Mutual labels:  okta
okta-api-center
Get up and running quickly with Okta's OAuth as a Service and your favorite API Gateway.
Stars: ✭ 58 (+141.67%)
Mutual labels:  okta
okta aws
Tool for accessing the AWS API for an account you normally access via okta
Stars: ✭ 27 (+12.5%)
Mutual labels:  okta
yak
A tool to log in to AWS through Okta
Stars: ✭ 38 (+58.33%)
Mutual labels:  okta
okta-terraform-demo
Example demos showcasing okta and terraform
Stars: ✭ 14 (-41.67%)
Mutual labels:  okta
okta-spring-security-5-example
Authentication with Spring Security 5 and Okta OIDC
Stars: ✭ 16 (-33.33%)
Mutual labels:  okta
okta-microservice-security-examples
Demos from Oktane18: API and Microservices Best Practices
Stars: ✭ 17 (-29.17%)
Mutual labels:  okta
okta-jhipster-microservices-oauth-example
A microservices architecture built with JHipster, OAuth 2.0, and Okta
Stars: ✭ 29 (+20.83%)
Mutual labels:  okta
okta-spring-boot-saml-example
Spring Boot, SAML, and Okta
Stars: ✭ 52 (+116.67%)
Mutual labels:  okta
pan-globalprotect-okta
PaloAlto Networks GlobalProtect VPN (integrated with OKTA) command-line client
Stars: ✭ 85 (+254.17%)
Mutual labels:  okta

ansible-okta-modules

Ansible modules for the Okta API

A full example playbook can be found in main.yml.

In Progress

  • SAML apps

Modules

The following modules are available with the corresponding actions:

  • okta_users
    • create
    • update
    • delete
    • list
    • activate
    • deactivate
  • okta_groups
    • create
    • update
    • delete
    • list
    • add_user
    • remove_user
  • okta_apps_swa
    • create
    • update
  • okta_apps_saml
    • create
    • update
  • okta_apps
    • delete
    • list
    • activate
    • deactivate
    • assign_user
    • remove_user
    • assign_group
    • remove_group

Examples

Create User

- name: Create Okta user
  okta_users:
    action: create
    organization: "{{ organization }}"
    api_key: "{{ api_key }}"
    login: "{{ email }}"
    first_name: "First"
    last_name: "Last"
    activate: true
    password: "{{ password }}"
    group_ids:
      - "{{ okta_group.json.id }}"
    email: "{{ email }}"
  register: okta_user

- name: Print user information
  debug:
    msg: "{{ okta_user.json }}"

Create Group

- name: Create Okta group
  okta_groups:
    action: "create"
    name: "Test"
    description: ""
    organization: "{{ organization }}"
    api_key: "{{ api_key }}"
  register: okta_group

- name: Print group information
  debug:
    msg: "{{ okta_group.json }}"

Create custom SWA app

- name: Create Okta app
  okta_apps_swa:
    action: create
    organization: "{{ organization }}"
    api_key: "{{ api_key }}"
    label: "Test SWA App"
    login_url: "https://unicorns.lol/login"
    redirect_url: "https://unicorns.lol/redirect"
  register: okta_app

- name: Print app information
  debug:
    msg: "{{ okta_swa_app.json }}"

Create custom SAML app

- name: Create SAML app
  okta_apps_saml:
    action: create
    organization: "{{ organization }}"
    api_key: "{{ api_key }}"
    label: "Test SAML App"
    ssoAcsUrl: "https://app.unicorns.lol/saml/acs"
    idpIssuer: "http://www.okta.com/${org.externalKey}"
    audience: "https://app.unicors.lol/saml/metadata"
    recipient: "https://app.unicorns.lol/saml/acs"
    destination: "https://app.unicorns.lol/saml/acs"
  register: okta_saml_app

- name: Print app information
  debug:
    msg: "{{ okta_saml_app.json }}"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].