tbouron / cloudformation-okta-resource-providers

Okta CFN Registry resource

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Okta CloudFormation Resources

This collection of CloudFormation resource types allow Okta to be controlled using AWS CloudFormation.

Set up git filter

This project uses a filter set up in the .gitattributes file to replace private values for testing within the different overides.json on each resource.

The filter has to be added manually inside the .git/config file once the repository has been cloned.

Executing this in the console from the project root will add it. Replace the values inside the square brackets with the actual values for testing. E.g. [url] becomes https://trial-1234567.okta.com

cat << EOF >> .git/config
[filter "okta-data"]
	clean = sed \\
		-e 's:[apiKey]:<OKTA_API_KEY>:g' \\
		-e 's:[url]:<OKTA_URL>:g' \\
		-e 's:[groupId]:<OKTA_GROUP_ID>:g' \\
		-e 's:[userId]:<OKTA_USER_ID>:g'
	smudge = sed \\
		-e 's:[apiKey]:<OKTA_API_KEY>:g' \\
		-e 's:[url]:<OKTA_URL>:g' \\
		-e 's:[groupId]:<OKTA_GROUP_ID>:g' \\
		-e 's:[userId]:<OKTA_USER_ID>:g'
EOF

git checkout .

About

Okta CFN Registry resource

License:Apache License 2.0


Languages

Language:TypeScript 100.0%