-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to specify store-id when importing a store from file or creating new #331
Comments
Just came accross a similar issue in the actual openfga engine repo. openfga/openfga#1132 (comment) |
The fact that you can specify We understand the value of being able to easily know the store_id / model_id for configuration management, but we haven't been able to work on this problem yet. |
This is very essential when using docker compose and setting up some init scripts. |
It would definitely be very interesting to be able to create static store ids/model ids for local development and such. |
+1 for this, also for production deployments. Our application is deployed hundreds of times, each with its own openfga. |
I'm unable to create a store either from a file or scratch while specifying the store-id.
I'd like to be able to specify the store id during creation so that the entire configuration and secret management for setting up openfga can be set prior to deployment.
I've seen that store-id can be specified for the openfga CLI fga store import command, however specifying the store id with
--store-id
leads to the store not being created at all.e.g.
fga store import --file test-store.yaml --store-id 01HYHGP755KA1BQMBR568RVKKV
fga store list
It would also be nice to se a
--store-id
parameter added to the fga store create command.e.g.
fga store create --name test-store --model test-model.fga --store-id 01HYHGP755KA1BQMBR568RVKKV
The text was updated successfully, but these errors were encountered: