MCPcopy Index your code
hub / github.com/coder/coder / ListUserSecrets

Method ListUserSecrets

coderd/database/querier.go:1073–1073  ·  view source on GitHub ↗

Returns metadata only (no value or value_key_id) for the REST API list and get endpoints.

(ctx context.Context, userID uuid.UUID)

Source from the content-addressed store, hash-verified

1071 // Returns metadata only (no value or value_key_id) for the
1072 // REST API list and get endpoints.
1073 ListUserSecrets(ctx context.Context, userID uuid.UUID) ([]ListUserSecretsRow, error)
1074 // Returns all columns including the secret value. Used by the
1075 // provisioner (build-time injection) and the agent manifest
1076 // (runtime injection).

Callers 5

getUserSecretsMethod · 0.65
ListUserSecretsMethod · 0.65
ListUserSecretsMethod · 0.65
TestUserSecretsMethod · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 2

TestUserSecretsMethod · 0.52