Skip to content

Commit 24e8472

Browse files
authored
Update apikey example (#116)
1 parent bfe304c commit 24e8472

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/apikey/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ data "streamnative_apikey" "test-admin-a" {
4848
depends_on = [streamnative_apikey.test-admin-a]
4949
organization = streamnative_apikey.test-admin-a.organization
5050
name = streamnative_apikey.test-admin-a.name
51+
private_key = streamnative_apikey.test-admin-a.private_key
5152
}
5253

5354
output "apikey" {
55+
sensitive = true
5456
value = data.streamnative_apikey.test-admin-a
5557
}

0 commit comments

Comments
 (0)