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

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 Distribution

tropokta-0.0.2a1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

tropokta-0.0.2a1-py2.py3-none-any.whl (2.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file tropokta-0.0.2a1.tar.gz.

File metadata

  • Download URL: tropokta-0.0.2a1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tropokta-0.0.2a1.tar.gz
Algorithm Hash digest
SHA256 ab6ee963805a8ac7cf1fae881faf62ae8050d8d71d892e6b43557b2316f7cfee
MD5 d3a7d02dedc12ea6fd794208f688662c
BLAKE2b-256 a1b16b4b2380005e9208446550421673467ee4e15089a567fbb46f3e4b4e6f6e

See more details on using hashes here.

File details

Details for the file tropokta-0.0.2a1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for tropokta-0.0.2a1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7f066b497712f0f42715c10543c34c257d9825bafbfd3b7893b2823b46b5d9c7
MD5 08e81f16b4b9493a1ee4393c43821c52
BLAKE2b-256 7f9accb1ea6a7688c38329504d782d8ea2405be592c60e5e8eb008eb0678a1a8

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