We are currently set path of properties file which contains secret/access key for Credentials File for AWSCredentialsProviderControlerService . Issue, is we are changing properties path for prod and non prod each time we run nifi workflow. trying to come up no change on Configuration on Credential File path, so that access/secret key would be read regardless of prod and non prod. Since credential file wont support Nifi Expresion language, trying to make use of ACCESS KEY/SECRET properties ${ENV:equalsIgnoreCase("prod"):ifElse(${ACESS_PROD},${ACESS_NONPROD})} Issue we are facing, we are not able to store these access key/secret keys to the registry. Hence unable to implement this change. Is there any way to read access/secret key regardless of environment in Nifi. Curently we are using 1 property file for non prod nifi and 2nd property file for prod properties. In this set up, manually need to changed to credential file path when switching from prod to non prod. Trying to seamlessly work without changing path of credential file. Is there any way to make this happen?
Nifi: How to read access/secret key for AWSCredentialsProviderControlerService independent of environment
1.2k views Asked by Samjas Subair At
1
There are 1 answers
Related Questions in APACHE-NIFI
- How to split a flow file json in nifi
- Nifi queryrecord compare regex using rpath on first level of record
- How to compare two csv files line by line in apachi nifi flow file using groovy script
- Apache nifi Invoke Http with url containing %2F
- localhost 8443 refused to connect
- Apache NIFI: Unable to write flow content
- Copy/Merge multiple HDFS files using Nifi Processor
- How to count the number of records of a JSON object using JOLT
- Jolt to remove the slashes and extract the nested json
- Customize Apache Nifi Frontend
- Apache NIFI getMongo An unexpected error has occurred: The specified data reference URI is not valid
- Filter JSON Array to Keep Only the Entry with the Latest Date/Time Using Jolt
- How to get hold of input file from a flowfile?
- How to let Airflow know that a Ni-Fi pipeline involving multiple flows is complete
- Creating connection from RouteOnAttribute to GetFile
Related Questions in SECRET-KEY
- How to encode ConvertAPI secret while converting
- Flask .env variables get read when running in pipenv shell, but not .venv
- Superset return access to dashbords
- How to update client new secret in Azure key vault
- PayPal API Secret key security
- Why I am getting error trying to access app settings?
- identify an uploaded file with unique identifier
- How do I correctly reference secret environment variables (process.env.secrets)
- Export an ASCII-armored GPG secret key removing the passphrase, while retaining passphrase-protection on keyring
- Are Branch.io Test and Live keys considered secrets?
- How to get data from an external api that has an api key and a secret key
- How can I show the content of a PKCS#8v2 files using openssl?
- Secret not working with @googlemaps/google-maps-services-js and firebase function
- Django deployment failure
- When I use "npm run buid" with Vite, "import.meta.env." is replaced by {} in dist
Related Questions in ACCESS-KEYS
- Error on S3 due User deletion: "InvalidAccessKeyId - The AWS Access Key Id you provided does not exist in our records." Where should I update keys?
- Is there an alternative to using access keys to authenticate a mobile application to invoke an AWS Lambda function?
- Dynamic numeric access key in listview WPF
- How to use backslash(\) in access_id in application.properties in java springboot as backslash is considered as special character it seems
- Using C#, how do I retrieve SAS token for account key to access (read/write/delete, etc..) blob storage?
- awscloudwatchlogs exporter in opentelemetry collector
- How to get AccessKey to work with DataTemplate in NavigationView
- When creating a user in AWS IAM I do not see "Select AWS Credential Type*" "Access Key - Programatic Access"
- How to protect aws secret access key
- Why doesn't CSS `[accesskey]:after { content: "[" attr(accesskey) "]" }` work for buttons in Firefox (at least)?
- Why does this one single accesskey not work on Firefox?
- Is my web app & table storage sufficiently secured from public facing internet?
- How to copy all files and folders of a different azure directory using databricks (without Azure data factory)
- access denied on aws keys after adding MFA
- AWS SSM encounter an error 403 upon using session manager CLI plugin
Related Questions in AWS-CREDENTIALS
- How to setup AWS credentials for next.js apps?
- Fetching credentials in an AWS Batch job
- AWS Credentials issue while access S3 bucket in C#
- AWSSDK for Swift / supplying credentials at runtime
- Next.JS app in ECS does not load env variables nor credentials
- AWS SDK .NET, how do I access s3 through a privatelink using the ec2 imdsv2
- How to pass AWS credentials from react
- Implemented botocore.credentials's RefreshableCredentials logic but the script is still failing after an hour
- AWS Credential Error in Runtime using JavaScript AWS SDK v2.784.0
- Github Action: Configure-aws-credentials: Could not load credentials from any providers
- Credentials. rake aborted! ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `bin/rails credentials:edit`
- aws cli is unable to locate credentials while running gitlab pipeline
- Using two or more regions from a single profile in one AWS Account
- Connecting to OpenSearchService fails with the message: Request failed: [security_exception] authentication/authorization failure
- AWS Credential Provider for ECS task
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The process that uses the AWSCredentialsProviderControlerService does not support param or variables, but the AWSCredentialsProviderControlerService "credential file" property supports "Parameters Context" as entries, make use of this for your solution.
Example:
Trigger something --> RouteOnAttribute --> If Prod (run executestreamcmd and change the Parameter Context Value to point to prod credfile) else if DEV(run executestreamcmd and change the Parameter Context Value to point to prod credfile) --> then run you AWS Processor.
You can use the toolkit client to edit the parameter context, or event nipyapi python module. It will not be fast tohu.