question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a CREDENTIAL_KEY_FORMAT_REGEX setting

See original GitHub issue

Keys like "my key" should not be allowed

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ryan-lanecommented, Dec 5, 2017

We don’t have this planned for the next quarter, but this is up for grabs if you’d like to take it. I might get some spare time in the next quarter to do this as unplanned work otherwise.

1reaction
ryan-lanecommented, Dec 29, 2016

The reason is mostly to ensure keys can be used as environment variables, but you’re right in that it limits other use-cases. Let’s add some config options for this. A regex for allowed chars would be good, with the default regex being set for valid environment variables. If we expose the regex to the angular interface we can also disable the code that forces chars to lowercase, since it’ll show a warning dialog for invalid chars.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Validating AWS Access and Secret Keys - regex
Based on the above comments that the system takes users credentials and uses them to create EC2 isntances, this does not sound like...
Read more >
create-regex-pattern-set - AWS Documentation
Or you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or...
Read more >
Mapping credentials for a file server by using the ... - IBM
Edit the line <tns:server name=" server name "> to change the value of the name attribute to the server name in the ProtocolBridgeProperties.xml...
Read more >
Find files that could contain interesting information to perform ...
rules.append(rule) ... filename, regex, \\A.*_ed25519\\z, Private SSH key, null ... php\\z, PHP configuration file, Might contain credentials and keys.
Read more >
Regular Expression | InsightOps Documentation
*For example, if you were sending your Apache Access Logs to InsightOps in JSON format, you could use the remoteIP key to find...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found