https://github.com/devops-rob/terraform-vault-rabbitmq-secrets-engine
This module enables and configures the RabbitMQ secrets engine.
https://github.com/devops-rob/terraform-vault-rabbitmq-secrets-engine
Last synced: 14 days ago
JSON representation
This module enables and configures the RabbitMQ secrets engine.
- Host: GitHub
- URL: https://github.com/devops-rob/terraform-vault-rabbitmq-secrets-engine
- Owner: devops-rob
- License: apache-2.0
- Created: 2021-01-25T12:08:06.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-25T12:10:56.000Z (about 5 years ago)
- Last Synced: 2025-02-08T02:35:29.324Z (12 months ago)
- Language: HCL
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RabbitMQ Secrets Engine with tags example
## Overview
This module enables and configures the RabbitMQ secrets engine.
## Example use case
In cases where engineers require Just-In-Time management access to RabbitMQ to administer the platform, configuring the RabbitMQ secrets engine with this example will allow authenticated and authorised Vault users to obtain temporary RabbitMQ credentials. Also for cases where applications require read-only access to resources in a specific virtual host.
## RabbitMQ Requirements
Vault will require a RabbitMQ user with the Administrator management plugin tag. No other permissions are required.
For more information about RabbitMQ Access and Permissions, refer to the [rabbitmqctl documentation.](https://www.rabbitmq.com/management.html#permissions)
## Usage
```hcl
provider "vault" {
address = "http://localhost:8200"
token = var.vault_token
}
variable "vault_token" {}
variable "rabbitmq_username" {}
variable "rabbitmq_password" {}
module "rabbitmq_defaults" {
source = "../../"
rabbitmq_uri = "http://localhost:15672"
rabbitmq_username = var.rabbitmq_username
rabbitmq_password = var.rabbitmq_password
rabbitmq_backend_role_name = "test"
rabbitmq_tags = "administrator"
}
```
## License
Licensed under the Apache License, Version 2.0 (the "License").
You may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an _"AS IS"_ basis, without WARRANTIES or conditions of any kind, either express or implied.
See the License for the specific language governing permissions and limitations under the License.