construct_db_secret: Construct a database secret string or raw version of it

View source: R/secrets_manager.R

construct_db_secretR Documentation

Construct a database secret string or raw version of it

Description

Construct a database secret string or raw version of it

Usage

construct_db_secret(
  engine,
  host = "",
  username = "",
  password = "",
  dbname = "",
  port = "",
  as = "string"
)

Arguments

engine, host, username, password, dbname, port

supply parameters to go into either a json string or raw version of the json string

as

(character) one of "string" or "raw"

References

https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html # nolint


sixtyfour documentation built on April 3, 2025, 8:22 p.m.