Skip to main content

Custom Okta Resources for AWS Cloudformation

Project description

tropokta

Custom AWS Cloudformation Resource for Okta Users and Groups

CAUTION

  • This is ALPHA and has only been testing on a developer instance of Okta and a test AWS account * DO NOT USE IN PRODUCTION WITHOUT TESTING

Install

To just use as a custom resource

Make sure to fill out the environment variables

  • OKTA_URL
  • OKTA_TOKEN encrypted

Follow online instructions on generating an Okta API Token

# Replace YOUR_S3_ARTIFACTS_BUCKET
aws cloudformation package --template-file template.yaml --output-template-file cfn-transformed-template.yaml --s3-bucket YOUR_S3_ARTIFACTS_BUCKET
aws cloudformation deploy --template-file ./cfn-transformed-template.yaml --stack-name okta-cf-resource

Now you have

  • Custom::OktaUser
  • Custom::OktaGroup
  • Custom::OktaUserGroupAttachment

Available in CloudFormation

If you install tropokta with

python setup.py install
# or
pip install tropokta

You can do the following within troposphere

from troposphere import Template
from tropokta.okta import OktaUser

t = Template()

user = t.add_resource(OktaUser(
    firstName="test",
    lastName="user",
    email="test@test.com",
    login="test@test.com"
    ))

print(t.to_json())

TO DO

[] Tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tropokta-0.0.3-py2-none-any.whl (3.2 kB view details)

Uploaded Python 2

File details

Details for the file tropokta-0.0.3-py2-none-any.whl.

File metadata

  • Download URL: tropokta-0.0.3-py2-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for tropokta-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 ba6b0e9612948fa7e18f0737574c49f22e577cabd791d577db389552115ea61e
MD5 eed196a7d85ac88070057de99423213c
BLAKE2b-256 eb1d84dcd42dbfec82cd93285d576ec587643603f8bb4e30833d0c798724f99c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page