Skip to content

Future release: Create API keys using wildcards * in index names #1968

@guimachiavelli

Description

@guimachiavelli

v0.30 allows users to create an API key using a wildcard when specifying which indexes should accept the key:

"indexes": ["products_*"] // matches products_A, products_B, etc

In need of clarification

If:

  1. I have two indexes named products_A and products_B
  2. create a key name key_for_products using a wildcard index products_*
  3. then create a new index products_C

Will key_for_products be able to access the new index? Or will the wildcard only match indexes that exist during key creation?


Does products* include an index named products?

Tasks

  • Update keys API reference
  • Update API keys guide

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions