Closed JPLachance closed 3 years ago
@JPLachance Would this resource and this data source work for you?
resource "lacework_agent_access_token" "k8s" {
name = "prod"
description = "k8s deployment for production env"
}
data "lacework_agent_access_token" "k8s" {
name = "prod"
}
Both expose a token
attribute. Suggestions are accepted.
Hello!
This will work. It will allow me to create token, store it in AWS Secrets Manager, automate its rotation.
Thank you 😄
Greetings,
Today, to manage Lacework agents access tokens, we must use the Lacework UI or the API.
With a Terraform resource, automating the creation and management of Lacework agents access tokens will be easier. For example, it will make it easy to create the access token and then store it in AWS Secrets Manager.
Thanks in advance for the help!