Skip to content

Commit

Permalink
Merge pull request #64 from cloudsmith-io/NO-TICKET/update_docs
Browse files Browse the repository at this point in the history
NO-TICKET: Updated service docs
  • Loading branch information
BartoszBlizniak committed Oct 27, 2023
2 parents c2c2930 + d45f925 commit cf96885
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/resources/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ The following arguments are supported:
* `team` - (Optional) Variable number of blocks containing team assignments for this service.
* `role` - (Optional) The service's role in the team. If defined, must be one of `Member` or `Manager`.
* `slug` - (Required) The team the service should be added to.
* `store_api_key` - (Optional) The service's API key to be returned in state. Defaults to `true`. If set to `false`, the "key" value is replaced with `disabled`
* `store_api_key` - (Optional) The service's API key to be returned in state. Defaults to `true`. If set to `false`, the "key" value is replaced with `**redacted**`. **NOTE:** This will only be applied to newly created service accounts, **this won't take effect for existing service accounts**.

## Attribute Reference

In addition to all arguments above, the following attributes are exported:

* `key` - The service's API key. If `store_api_key` is set to false, the value returned will equal to `disabled`
* `key` - The service's API key. If `store_api_key` is set to false, the value returned will equal to `**redacted**`
* `slug` - The slug identifies the service in URIs or where a username is required.

## Import
Expand Down

0 comments on commit cf96885

Please sign in to comment.