AWS CFN Resource to provision a Confluent Cloud Service account
Project description
Confluent::IAMv2::ServiceAccount
Allows to create a new Service Account into an organization in Confluent Cloud via API.
See the docs for properties
Requirements
You need
- An account on Confluent Cloud Platform
- Create a new API key for cloud resource, ie. as follows from CLI.
confluent api-key create --resource cloud
Example
Set up requirements
# Optionally create an API key via the CLI
confluent api-key create --resource cloud -o json
export API_KEY=THEAPIKEYRETURNED
export API_SECRET=THEAPISECRETRETURNED
aws cloudformation deploy --stack-name confluent-cloud-api-credentials --template confluent-secrets.template \
--parameter-overrides ConfluentApiKey=${API_KEY} ConfluentSecretKey=${API_SECRET}
export SECRET_ARN=`aws cloudformation describe-stack-resources --stack-name confluent-cloud-api-credentials --logical-resource-id ConfluentSecret | jq -r .StackResources[0].PhysicalResourceId`
Activate the 3rd party CloudFormation resource
aws cloudformation deploy --stack cfn-resource--confluentcloud-iam-serviceaccount --template activate.template \
--capabilities CAPABILITY_IAM
Create a new Service account
aws cloudformation deploy --stack-name my-first-service-account --template resource-test.template \
--parameter-overrides ConfluentCloudApiSecrets=${SECRET_ARN}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for confluentcloud-iam-serviceaccount-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a40da589595cd203425b661656c31f80b2e238553316eeac9d6e08e7e22f7ff |
|
MD5 | f80a46b27d1d955f5348200311bb6d2e |
|
BLAKE2b-256 | 5c5dd392b10b8c6adf37fb5930862ae2fc558ca2a779701a64ffea39f7913a18 |
Close
Hashes for confluentcloud_iam_serviceaccount-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4ff6b92ad8e3adcb21c3da72384b0338d5cfd119eb431792a9ada6bc998fa1f |
|
MD5 | c6bf0533d6be45f1c70302c557db9ab8 |
|
BLAKE2b-256 | b142f69576be45e0e75b42ffbf4a58ac1f8c6913804622eb2db5c7f903a5a12d |