samples
turbot/flowpipe-samples/deactivate-expired-aws-iam-access-keys
Get Involved
Version
Deactivate expired AWS IAM access keys
Deactivates expired AWS IAM access keys and notifies via Slack channel.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run deactivate_expired_aws_iam_access_keys.pipeline.deactivate_expired_aws_iam_access_keys \ --arg 'slack_channel=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = deactivate_expired_aws_iam_access_keys.pipeline.deactivate_expired_aws_iam_access_keys args = { slack_channel = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
aws_cred | string | Yes | Name for AWS credentials to use. If not provided, the default credentials will be used. | default |
slack_cred | string | Yes | Name for Slack credentials to use. If not provided, the default credentials will be used. | default |
slack_channel | string | Yes | Channel, private group, or IM channel to send message to. | - |
expire_after_days | number | Yes | Number of days after which the access key should be deactivated. | 90 |
Outputs
This pipeline has no outputs.