You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+56-2Lines changed: 56 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,60 @@ __windows (cmd):__
113
113
set REQUESTS_CA_BUNDLE="C:\Users\User\AppData\Local\corp-proxy\cacert.pem"
114
114
```
115
115
116
+
### Global Settings
117
+
118
+
#### `credential_backend`
119
+
120
+
The backend used to store temporary access tokens to authenticate against the Britive tenant.
121
+
122
+
_Allowed value:_`encrypted-file` or `file`
123
+
124
+
#### `default_tenant`
125
+
126
+
The name of the tenant used by default: [tenant].britive-app.com.
127
+
128
+
_Allowed value:_ the name of a configured tenant alias, e.g. `[tenant-sigma]` would be `sigma`.
129
+
130
+
#### `output_format`
131
+
132
+
Display output format.
133
+
134
+
If `table` is used, an optional table format can be specified as `table-format`, formats can be found here: [table_format](https://github.com/astanin/python-tabulate#table_format).
135
+
136
+
_Allowed value:_`json`, `yaml`, `csv`, or `table[-format]`
137
+
138
+
> _NOTE:_ the following global config settings are NOT available directly via `pybritive configure global`
139
+
140
+
#### `auto_refresh_kube_config`
141
+
142
+
Auto refresh the cached Britive managed kube config.
143
+
144
+
_Allowed value:_`true` or `false`
145
+
146
+
#### `auto_refresh_profile_cache`
147
+
148
+
Auto refresh the cached Britive profiles.
149
+
150
+
_Allowed value:_`true` or `false`
151
+
152
+
#### `ca_bundle`
153
+
154
+
The custom TLS certificate to use when making HTTP requests.
155
+
156
+
_Allowed value:_ the path to a custom TLS certificate, e.g. `/location/of/the/CA_BUNDLE_FILE.pem`
157
+
158
+
#### `my_access_retrieval_limit`
159
+
160
+
Limit the number of "My Access" profiles to be retrieved.
161
+
162
+
_Allowed value:_ an integer greater than `0`
163
+
164
+
#### `my_resources_retrieval_limit`
165
+
166
+
Limit the number of "My Resources" items to be retrieved.
167
+
168
+
_Allowed value:_ an integer greater than `0`
169
+
116
170
## Tenant Configuration
117
171
118
172
Before `pybritive` can connect to a Britive tenant, it needs to know some details about that tenant.
@@ -758,13 +812,13 @@ The cache will not be updated over time. In order to update the cache more regul
758
812
Note that this config flag is NOT available directly via `pybritive configure global ...`.
759
813
760
814
```sh
761
-
pybritive configure update global auto-refresh-profile-cachetrue
815
+
pybritive configure update global auto_refresh_profile_cachetrue
762
816
```
763
817
764
818
To turn the feature off run
765
819
766
820
```sh
767
-
pybritive configure update global auto-refresh-profile-cachefalse
821
+
pybritive configure update global auto_refresh_profile_cachefalse
0 commit comments