Uses of Class
codes.grow.packages.loki.core.Secret
Packages that use Secret
Package
Description
Grow Codes SDK for Grafana Loki.
-
Uses of Secret in codes.grow.packages.loki
Methods in codes.grow.packages.loki that return types with arguments of type SecretModifier and TypeMethodDescriptionLokiConfig.bearerToken()Returns the Bearer token for gateways.LokiConfig.password()Returns the Basic-auth password (or Grafana Cloud access token).Methods in codes.grow.packages.loki with parameters of type SecretModifier and TypeMethodDescriptionSets Basic-auth credentials.LokiClient.Builder.bearerToken(Secret token) Sets the Bearer token for gateways.LokiConfig.Builder.bearerToken(Secret token) Sets the Bearer token sent to a gateway (Authorization: Bearer …).Sets the Basic-auth password (or Grafana Cloud access token). -
Uses of Secret in codes.grow.packages.loki.core
Methods in codes.grow.packages.loki.core that return SecretModifier and TypeMethodDescriptionstatic SecretSecret.of(char[] value) Wraps a copy of a character array; the caller may clear its own array afterwards.static SecretWraps a string value.Methods in codes.grow.packages.loki.core with parameters of type SecretModifier and TypeMethodDescriptionTlsOptions.Builder.clientKeyPem(Secret pem) Sets the client key as inline PEM.booleanCompares the values in constant time.