Jim Minter
9b3c4383a4
add encryption.multi
2021-09-10 11:26:20 -04:00
Jim Minter
6aecbe085a
add GetBase64Secrets
2021-09-10 11:26:20 -04:00
Roland Kunkel
af1d79047d
User RP credentials in DB script ( #1559 )
2021-06-23 11:59:56 +01:00
Jim Minter
7dde80a432
remove NewMSIAuthorizer call from pkg/database
2021-05-11 11:48:19 -04:00
Jim Minter
7ed6032446
use local user's credentials for keyvault access in hack/db
2021-05-11 11:46:27 -04:00
Jim Minter
31fbebea89
update NewDatabaseClient to new go-cosmosdb API
2021-04-26 13:56:49 -05:00
Jim Minter
81229ae196
for clarity, rename IsDevelopmentMode -> IsLocalDevelopmentMode
2021-04-23 10:25:46 -05:00
Jim Minter
10554999eb
remove pkg/util/deployment and revert to isDevelopment bool
2021-04-08 09:12:13 -05:00
Jim Minter
a452396af6
move *KeyVaultSuffix to env
2021-02-09 08:52:28 -06:00
Jim Minter
7a14788cea
renames:
...
cipher -> aead
encrypt/decrypt -> seal/open
aeadCipher -> xChaCha20Poly1305
2020-12-14 11:18:57 -06:00
Jim Minter
17d4f2d663
remove key vault autodiscovery
2020-11-19 07:54:22 -06:00
Jim Minter
c2888e0dab
remove service keyvault from env.Core
2020-11-19 07:54:22 -06:00
Jim Minter
e80ffcffbf
remove env.GetBase64Secret from pkg/util/encryption
2020-11-19 07:53:25 -06:00
Jim Minter
5f5713ec7a
remove database.Database
2020-10-08 09:41:18 -05:00
Jim Minter
8cf6c9dbe7
internalise uuid into database clients
2020-10-08 09:41:18 -05:00
Jim Minter
335c6376fb
Move some env.Interfaces to env.Cores
2020-09-25 10:03:56 -05:00
Mikalai Radchuk
e201718d90
Adds pagination to API
2020-04-07 19:07:19 -05:00
Jim Minter
edd02eacbe
encryption fixups:
...
* pass cipher into database.NewDatabase, rather than bool
* unexport as much as possible
* remove backwards-compatibility and "read without key" options for now, adds too much complexity
2020-02-10 07:50:26 +00:00
Mangirdas Judeikis
468621f73c
add encrypt pkg
2020-02-07 09:37:41 +00:00
Mangirdas Judeikis
d36f0e72c6
add cosmosdb metrics
2020-01-25 09:05:37 +00:00
Mangirdas Judeikis
4292ed94d3
generate and bump code
2020-01-21 13:43:31 +00:00
Jim Minter
57f2b597a3
pass context to cosmosdb
2020-01-06 12:16:59 -06:00
Jim Minter
b1793e893a
allow database name to be parametrised
2019-12-29 12:44:31 -06:00
Jim Minter
224a09da61
remove unused contexts in database layer
2019-12-25 16:30:16 -06:00
Jim Minter
2a8d88618a
remove uuid type from database layer
2019-12-22 08:36:19 -06:00
Jim Minter
acb393d34d
remove api.Key type
2019-12-22 08:36:18 -06:00
Jim Minter
18e245b67e
package rename
2019-12-16 19:26:21 -06:00
Jim Minter
00e3c6555a
add code license boilerplate
2019-12-16 19:16:50 -06:00
Jim Minter
06b5067f1b
nits
2019-12-16 11:32:43 -06:00
Angus Salkeld
b121c554f5
Add GetLogger() to avoid duplicated code
2019-12-16 11:30:38 -06:00
Jim Minter
612c64a4c2
further shorten
2019-12-03 22:34:51 -06:00
Angus Salkeld
d1d895f0c3
log relative paths not absolute to make them more readable
2019-12-03 22:20:11 -06:00
Jim Minter
268576a8dc
standardise on 4-space indent for json
2019-12-03 19:13:19 -06:00
Jim Minter
e4b9093750
move environment checks
2019-12-01 22:50:42 -06:00
Jim Minter
69da5262cc
start rbac work: further rearrange service principals
2019-12-01 10:00:02 -06:00
Jim Minter
f249280ddc
breaking change: rename database and tables
2019-11-29 17:36:27 -06:00
Jim Minter
221a61c4fa
normalise ugorji json handling
2019-11-28 13:54:28 -06:00
Jim Minter
62ab803c0c
add top-level Database type
2019-11-28 07:11:34 -06:00
Jim Minter
d6f0078919
breaking change: separate out database key
2019-11-28 07:11:33 -06:00
Jim Minter
9b77ca6f5a
simplify cmd/rp/rp.go
2019-11-18 18:50:18 -06:00
Jim Minter
37397466b0
split into http and https listeners, add development mode
2019-11-18 18:13:18 -06:00
Jim Minter
54e2c08241
add initial keyvault support
2019-11-18 00:00:37 -06:00
Jim Minter
a707bb393d
rename RP_RESOURCEGROUP -> RESOURCEGROUP
2019-11-17 22:04:24 -06:00
Jim Minter
7e24602c57
remove COSMOSDB environment variables
2019-11-17 22:02:13 -06:00
Jim Minter
49ef7e9bb9
add some debugging tools
2019-11-13 19:08:34 -06:00