-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathservice_token.md.tmpl
More file actions
70 lines (60 loc) · 2.02 KB
/
service_token.md.tmpl
File metadata and controls
70 lines (60 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
page_title: "{{.Name}} {{.Type}} - {{.ProviderName}}"
{{ if gt (len (split .Description " --- ")) 1 -}}
subcategory: "{{ index (split .Description " --- ") 0 }}"
{{- else -}}
subcategory: ""
{{- end }}
description: |-
{{ if gt (len (split .Description " --- ")) 1 -}}
{{ index (split .Description " --- ") 1 | plainmarkdown | trimspace | prefixlines " " }}
{{- else -}}
{{ .Description | plainmarkdown | trimspace | prefixlines " " }}
{{- end }}
---
# {{.Name}} ({{.Type}})
### Nested Schema for `service_token_permissions`
The mapping of permission names [from the docs](https://docs.getdbt.com/docs/cloud/manage-access/enterprise-permissions) to a `permissions_set` in `service_token_permissions`:
| Permission name | `permission_set = ...` |
| --- | --- |
|Account Admin | account_admin|
|Account Viewer | account_viewer|
|Admin | admin|
|Analyst | analyst|
|Billing Admin | billing_admin|
|Cost Management viewer | cost_management_viewer|
|Cost Management admin | cost_management_admin|
|Database Admin | database_admin|
|Developer | developer|
|Fusion Admin | fusion_admin|
|Git Admin | git_admin|
|Job Admin | job_admin|
|Job Runner | job_runner|
|Job Viewer | job_viewer|
|Manage marketplace apps | manage_marketplace_apps|
|Member | member|
|Metadata Only | metadata_only|
|Notification Manager | notification_manager|
|Owner | owner|
|Project Creator | project_creator|
|Read-Only | readonly|
|Security Admin | security_admin|
|Semantic Layer Only | semantic_layer_only|
|Stakeholder | stakeholder|
|Team Admin | team_admin|
|Webhooks Only | webhooks_only|
{{ if gt (len (split .Description " --- ")) 1 -}}
{{ index (split .Description " --- ") 1 | trimspace }}
{{ else }}
{{ .Description | trimspace }}
{{- end }}
{{ if .HasExample -}}
## Example Usage
{{ tffile (printf "%s%s%s" "examples/resources/" .Name "/resource.tf") }}
{{- end }}
{{ .SchemaMarkdown | trimspace }}
{{- if .HasImport }}
## Import
Import is supported using the following syntax:
{{ codefile "shell" (printf "%s%s%s" "examples/resources/" .Name "/import.sh") }}
{{- end }}