Add sensitive flag to JFrog access token output.

pull/101/head
Muhammad Atif Ali 2 years ago
parent d9a0656065
commit dd88b9da15

@ -15,3 +15,5 @@ describe("jfrog-oauth", async () => {
package_managers: "{}", package_managers: "{}",
}); });
}); });
//TODO add more tests

@ -79,6 +79,7 @@ resource "coder_script" "jfrog" {
output "access_token" { output "access_token" {
description = "value of the JFrog access token" description = "value of the JFrog access token"
value = data.coder_external_auth.jfrog.access_token value = data.coder_external_auth.jfrog.access_token
sensitive = true
} }
output "username" { output "username" {

@ -112,6 +112,7 @@ resource "coder_script" "jfrog" {
output "access_token" { output "access_token" {
description = "value of the JFrog access token" description = "value of the JFrog access token"
value = artifactory_scoped_token.me.access_token value = artifactory_scoped_token.me.access_token
sensitive = true
} }
output "username" { output "username" {

Loading…
Cancel
Save