Skip to main content

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

Metadata

Release files for tropokta 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for tropokta 0.0.3
File Interpreter ABI Platform
tropokta-0.0.3-py2-none-any.whl Python 2 none any Details

Release files / tropokta-0.0.3-py2-none-any.whl

Download URL tropokta-0.0.3-py2-none-any.whl
Size 3.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
ba6b0e9612948fa7e18f0737574c49f22e577cabd791d577db389552115ea61e
BLAKE2b-256 checksum
How to use checksums
eb1d84dcd42dbfec82cd93285d576ec587643603f8bb4e30833d0c798724f99c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page