Forum Discussion

Rustyf's avatar
Rustyf
New Member
3 hours ago

1password-credentials.json invalid?

Hi there

I'm trying to setup the operator in my kubernetes cluster however, the connect server is complaining about the credentials. 

{"log_message":"(E) Server: (unable to get credentials and initialize API, retrying in 30s), Wrapped: (failed to FindCredentialsUni │

│ queKey), failed to loadCredentialsFile: Server: (LoadLocalAuthV2 failed to credentialsDataFromBase64), illegal base64 data at input byte 0","timestamp":"2026-04-30T19:05:07.6488449 │

│ 95Z","level":1}

On investigation it seems that the data in the (freshly downloaded) file is not decoding as valid base64.  (I'm downloading via windows and accessing file from WSL bash).

For instance, this:-

jq -r '.encCredentials.data' 1password-credentials.json | basenc --base64url -d > /dev/null && echo OK || echo BAD

returns BAD, i.e. thinks that the data property is not decodable.

image tags: 1password/connect-api:1.7.3 1password/connect-sync:1.7.3

Any help would be welcome, thanks in advance!

1 Reply

  • I got it working after stumbling upon this (old!) issue: 

    https://github.com/1Password/connect/issues/62

    (You have to double-encode the credentials :/)