Questions tagged [key]
A unique identifier used to retrieve a paired value. Used in hash tables and databases.
9,516
questions
0
votes
0
answers
19
views
Twitter API v2 Authentication Error: 401 Unauthorized Despite Correct Keys & Tokens
I am trying to access the Twitter API v2 both through the API directly on Postman and Tweepy in Python on macOS, but I keep encountering a 401 Unauthorized error. Despite using what I believe to be ...
0
votes
0
answers
9
views
Loading JSON into Dataverse with Unique Key issue
I'm generating an export file of a table (which I can't connect directly through API's). I'm trying to load this JSON file into a Dataverse Table. I have identified the uniqueKey in my dataflow and ...
0
votes
1
answer
35
views
How is a private key more than just an encrypted password? [closed]
I'm trying to understand public and private keys, instead of just using them. I understand that both the public and private key have to create a pair, but if the server you want access to is receiving ...
2
votes
0
answers
14
views
How can I check if key is part of an interface in typescript? [duplicate]
I have an interface [simplified]
export default interface FormListarAtendimentosDTO {
idArea?: number;
idAssunto?: number;
idMotivo?: number;
order?: string;
page?: number;
...
1
vote
0
answers
31
views
ASN1 corrupted data exception when converting .cer and .key files to .pfx in C#
I have a .cer file, .key and a password. I need to convert them to a .pfx file in .NET 6 but I have not a clear idea how to do it.
With the help of ChatGPT I came up with this code but it is not ...
-1
votes
0
answers
18
views
Python - Generating all combinations of Hexadecimal strings with some filtering rules [closed]
So I'm looking for a script to generate a list of all possible combinations of 32-character long strings and to make this job faster need to add some filters:
no repeating characters next to each ...
-1
votes
0
answers
34
views
how to get response from below jq data as response using jqs CE2-DG Group-id CE2-DG Group-id(CE2-LAG1, CE4-LAG1) ,CE4-DG-c Group-id(CE4-LAG1)
i want to create a map usin gbelow mentioned data
I have below data want to get response like
CE2-DG Group-id(CE2-LAG1, CE4-LAG1) using JQs
{
"Swagatha": [
{
"a": ...
-1
votes
2
answers
48
views
Is there any way to check if a KeyValuePair<string, int> contains a specific Key in a Dictionary in one line?
In my code I have a Dictionary, which at first was just <string, int>. However, I needed a way for two things with the same string to be separate elements in the Dictionary, so I made the Key ...
-1
votes
0
answers
27
views
AWS Payment Cryptography access on different aws account
My Requirement: i have AWS payment cryptography service active at aws source account,i need to give access to the another aws target account, the my application code is percent at ec2 instance(aws ...
0
votes
0
answers
51
views
How to Configure CI/CD Pipeline to Pull Changes Using SSH Key or Access Token Without Username and Password?
I am in the process of setting up a CI/CD pipeline and need some guidance on configuring my script to automatically pull changes from a target branch. I would like to achieve this without the need to ...
-1
votes
0
answers
19
views
Running a block of code using a key (java) [duplicate]
import com.sun.jdi.request.MethodExitRequest;
import java.awt.*;
import java.awt.event.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws ...
3
votes
3
answers
81
views
Renaming string via key/value matrix
I am attempting to rename strings that have been pulled from a user-defined field. So, I have set up a matrix that creates a relationship between what comes from the UDF and what I want that string to ...
4
votes
4
answers
195
views
Is it possible to get the actual key back from a hashtable
Given a hash table (or a dictionary) like:
$HashTable = @{ 'One' = 1; 'Two' = 2; 'Three' = 3 }
(which is case insensitive by default, but doesn't has to be in every situation for my case. In fact, I ...
1
vote
0
answers
31
views
Displaying table layout with table and column name referenced by foreign keys in Postgres
I have this query that works for version 14 of postgres, but doesn't work for version 15.
What it does is show the table name, column name, primary key and how it corresponds with it's foreign key.
...
2
votes
2
answers
114
views
Substract values dictionary from another dictionary's values
I have a coffee machine that gives a user 3 options to choose from: espresso, latte, cappuccino. The ingredients and cost of the chosen item are stored in a dictionary in the variable MENU. After the ...