Skip to content

useless warning pollutes every CLI invocation Warnf OS does not support credentials cache #31217

@dch

Description

@dch

Describe the bug

new credentials cache warning interferes with CLI usage.

To Reproduce

Query a vault server for a key/value lookup on FreeBSD, see unwanted warning
on every invocation:

 vault read secret/test
WARN[0000]log.go:204 gosnowflake.(*defaultLogger).Warnf OS freebsd does not support credentials cache
Key                 Value
---                 -----
refresh_interval    72h
...

Expected behavior

This warning should never be shown to the user.

Environment:

$ vault status
WARN[0000]log.go:204 gosnowflake.(*defaultLogger).Warnf OS freebsd does not support credentials cache
Key             Value
---             -----
Seal Type       shamir
Initialized     true
Sealed          false
Total Shares    6
Threshold       3
Version         1.19.5
Build Date      2025-06-12T04:04:53Z
Storage Type    file
Cluster Name    vault-cluster-decc334d
Cluster ID      d765c2e9-2fe7-917e-51d5-eaedacd2cadd
HA Enabled      false

$ vault version
WARN[0000]log.go:204 gosnowflake.(*defaultLogger).Warnf OS freebsd does not support credentials cache
Vault v1.19.5 (7010adf2c67686681908f04ec8e9357f19066f4f), built 2025-06-12T04:04:53Z (cgo)

$ uname  -a
FreeBSD wintermute  15.0-CURRENT FreeBSD 15.0-CURRENT main-n277972-c2834a53b919 GENERIC-NODEBUG amd64

Vault server configuration file(s):

n/a

Additional context

warning is new in last release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUsed to indicate a potential bugcore/cliregressionUsed to indicate possible regressions between versions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions