Slackbot
07/17/2023, 11:12 PMRyan
07/17/2023, 11:14 PMRyan
07/17/2023, 11:15 PMRyan
07/17/2023, 11:15 PMRyan
07/17/2023, 11:23 PMinfisical secrets set -l trace --env=qa --domain=https://infisical.eikongroup.io LOG:LOGLEVEL=Debug
Usually the error was something like
Hmm, we ran into an error: CallCreateSecretsV3: Unsuccessful response. Please make sure your secret path, workspace and environment name are all correct [response={}]
but no error on the server logs and no way for me to find out what went wrong. This seemed to happen the most with an empty environmentRyan
07/17/2023, 11:25 PMRyan
07/17/2023, 11:26 PMRyan
07/17/2023, 11:27 PMRyan
07/17/2023, 11:27 PMRyan
07/17/2023, 11:28 PMRyan
07/17/2023, 11:29 PMRyan
07/17/2023, 11:30 PMRyan
07/17/2023, 11:35 PMinfisical scan -v --log-opts="HEAD" | grep Fingerprint: | sed 's/Fingerprint: //' > .infisicalignore
and then made it and checked it in… only to find that Gitlab only checks out with a depth of 20 by default. This means that the .infisicalignore file I generate on my computer will not work on Gitlab because the file contains the commit number where the secret was first found. This is different when you check out to a different depth.
My recommendation here would be to change the format of this file so the first part of the thumbprint is actually a hash of the secret
edf22805a71b475049d148a81194be50360d08f0:alula.orders.api/Properties/launchSettings.json:generic-api-key:15
changes to
HashOfSecret:alula.orders.api/Properties/launchSettings.json:generic-api-key:15Ryan
07/17/2023, 11:36 PMRyan
07/17/2023, 11:38 PMMaidul Islam
07/18/2023, 12:07 AMRyan
07/18/2023, 12:09 AMdrag and drop featureI was using infisical to generate the files using the export feature. I tried to export all the formats and tried each of them. I can sanitize one of my files and provide it to you if that would help? Sometimes it added a single entry. I was expecting that I could export Dev, find and replace “dev” to “qa” and update a few settings, then import
Ryan
07/18/2023, 12:10 AMauto capitalizationFound that and switched it off, but I think the CLI
infisical secrets set command ignores it. After I couldn’t get the file import to work, I used my exported file to craft a new CLI command to set all the secrets that way. It automatically converted them all to UPPERCASERyan
07/18/2023, 12:10 AMcase sensitivity, perhaps having a togglewould love that
Ryan
07/18/2023, 12:12 AMVlad (Infisical)
07/18/2023, 2:17 AMYaron Levi
07/18/2023, 2:36 AMVlad (Infisical)
07/18/2023, 2:39 AMAkhi
07/18/2023, 5:21 AMAndrew Atimapre
07/18/2023, 8:36 AMRyan
07/18/2023, 3:35 PMRyan
07/27/2023, 4:30 PMRyan
07/27/2023, 4:31 PMVlad (Infisical)
07/27/2023, 4:34 PMRyan
07/27/2023, 4:39 PMRyan
07/27/2023, 4:39 PMVlad (Infisical)
07/27/2023, 4:40 PMVlad (Infisical)
07/28/2023, 4:36 AMRyan
07/28/2023, 5:08 PMVlad (Infisical)
07/28/2023, 5:10 PM